Find where you left off...

Alex cut_me_out at hotmail.com
Fri Jul 28 20:26:52 EDT 2000


> Python doesn't catch all such errors when the script executes.

That's true in general, but for the example he gave ('start from here')
it should be OK, because 'from' is a keyword, so Python will throw a
syntax error before any code is executed:

>>> def test():
        start from here
...   File "<stdin>", line 2
    start from here
             ^
SyntaxError: invalid syntax
>>> 

Alex.



More information about the Python-list mailing list