Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #13301

Re: help regarding re.search

References (1 earlier) <CAMZYqRR5UqHhdKiyLsZqE8DouXDWvFOsUw8OCYfjZ0E9f8iEBg@mail.gmail.com> <CAP8kuinJnPv=6U1J6LYZgGk_yUN6PskvHStCo1kEMHUBG1NkuQ@mail.gmail.com> <CAMZYqRSiHY3Cz=r=oAioNCUUEz=L1fW4ngLc4xCyPwwpU9mM2A@mail.gmail.com> <CAP8kuik0Aq0gc5NvYPU__k96QiSc0uj+nbAezsx685TGzb2o3w@mail.gmail.com> <CAH8GtdMAD_rkPkv+x2+8NDmwsCAVg65EzQ27GPvrXnxaxw8Vdg@mail.gmail.com>
Date 2011-09-15 15:01 +1000
Subject Re: help regarding re.search
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1148.1316062914.27778.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: help regarding re.search Chris Angelico <rosuav@gmail.com> - 2011-09-15 15:01 +1000

csiph-web