"Breaking" the __main__ script

vsoler vicente.soler at gmail.com
Sun Mar 14 12:34:53 CET 2010


Hello,

I am still learning python, thus developnig small scripts.

Some of them consist only of the main module. While testing them
(debugging) I sometimes want to stop the script at a certain point,
with something like    stop, break, end   or something similar.

What statement can I use?

Vicente Soler



More information about the Python-list mailing list