help regarding re.search

Chris Angelico rosuav at gmail.com
Thu Sep 15 01:01:52 EDT 2011


On Thu, Sep 15, 2011 at 2:55 PM, Kushal Kumaran
<kushal.kumaran+python at 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



More information about the Python-list mailing list