help regarding re.search

Chris Angelico rosuav at gmail.com
Thu Sep 15 06:49:31 CEST 2011


On Thu, Sep 15, 2011 at 2:41 PM, Sagar Neve <nevesagar at gmail.com> wrote:
> ./sample.py: line 9: syntax error near unexpected token `:'
> ./sample.py: line 9: `if (Opt_Param2 in url):    '
>

It worked for me in Python 3.2. What version of Python are you using?

ChrisA



More information about the Python-list mailing list