On Thu, Sep 15, 2011 at 2:55 PM, Kushal Kumaran <kushal.kumaran+pyt...@gmail.com> wrote: > That looks like a bash error message. Syntax errors in python show up > with a stack trace. Run your program using the python interpreter > like this: > > python file.py > OR > python3 file.py > > whatever is applicable in your environment. >
Or add a shebang to the top of your script. ChrisA -- http://mail.python.org/mailman/listinfo/python-list