How to exit the main script in Python
Richard Kessler
richardkessler at matteicos.com
Fri Aug 16 15:12:39 EDT 2002
More information about the Python-list mailing list
Fri Aug 16 15:12:39 EDT 2002
- Previous message (by thread): How to exit the main script in Python
- Next message (by thread): How to exit the main script in Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have a simple script that calls a bunch of functions to do things. Sometimes I need to simply exit the main script mid way but I can't find the syntax. 'Return' does not work outside of a function. 'Break' must be in a loop...etc. The VB counter part would be 'end'. Many thanks in advance. Richard
- Previous message (by thread): How to exit the main script in Python
- Next message (by thread): How to exit the main script in Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list