help regarding re.search

Chris Angelico rosuav at gmail.com
Thu Sep 15 00:49:31 EDT 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