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


Groups > comp.lang.python > #13301

Re: help regarding re.search

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.011
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'interpreter': 0.07; 'python': 0.08; 'bash': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'trace.': 0.16; 'this:': 0.16; 'wrote:': 0.16; 'received:209.85.210.174': 0.18; 'received:mail- iy0-f174.google.com': 0.18; 'subject:help': 0.22; 'header:In- Reply-To:1': 0.22; 'sep': 0.23; 'pm,': 0.24; 'stack': 0.24; 'thu,': 0.28; 'script.': 0.29; 'looks': 0.29; 'message- id:@mail.gmail.com': 0.29; 'environment.': 0.30; 'error': 0.32; 'to:addr:python-list': 0.33; 'message.': 0.34; 'using': 0.37; 'received:google.com': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.39; 'to:addr:python.org': 0.39; 'your': 0.61; 'show': 0.67; 'applicable': 0.68
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=uaI2E/BCcNxN8XXf2edpOriwHdzOTxO0F7TuG/4Mleg=; b=lpZTERuuQHBuXXIA5kDs0WGM+S4Sjc0VZvwg3vV7gU15yzVDu7+/MB5fCjWBuJmMp2 6zjLD99+l93Wl2U0LYYBEZ1peMWybpNGZxivp3o26hemeeE5U9wOzVoynT8N4UiySH+z hM7SdpqcVtHRgweNf0790axw83DcjjFud1D1w=
MIME-Version 1.0
In-Reply-To <CAH8GtdMAD_rkPkv+x2+8NDmwsCAVg65EzQ27GPvrXnxaxw8Vdg@mail.gmail.com>
References <CAP8kui=Nqo6bDQh-SA-t+KMFs=NrgYYFmnsw6wXATJ8-aTxmZQ@mail.gmail.com> <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 Thu, 15 Sep 2011 15:01:52 +1000
Subject Re: help regarding re.search
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1148.1316062914.27778.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1316062914 news.xs4all.nl 2404 [2001:888:2000:d::a6]:44198
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:13301

Show key headers only | 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