davecouture

How to stop a command or prompt in Python?

Discussion created by davecouture on Mar 31, 2011
Latest reply on Sep 8, 2015 by jbcbirder
I'm using ArcGIS 10 and I'm practicing a few scripts with Python.  What command should I use, if I want to exit a commnad, or a function?  I'm always stuck with 3 dots (secondary prompt).  How do I stop it?

I've tried:

sys.exit()
sys.exit(0)
quit()

Outcomes