help regarding re.search
nevesagar at gmail.com
Thu Sep 15 05:38:12 EDT 2011
I just resolved it and yes you are right there was a (hidden) new-line to
it. I found it in a crude way of putting dots before and after. I was to
post about it here and saw your message.
I was not knowing about %r. Thanks for that. Thats a good addition to my
Thanks a bunch of all. My day is saved.
On Thu, Sep 15, 2011 at 2:35 PM, Gelonida N <gelonida at gmail.com> wrote:
> Hi Sagar,
> In order to be able to help you I propose following:
> On 09/15/2011 06:54 AM, Sagar Neve wrote:
> . . .
> > print "hello..Man_Param=%s,Opt_Param1=%s,
> > Opt_Param2=%s\n" %(Man_Param,Opt_Param1,Opt_Param2)
> Change above line into
> > print "hello..Man_Param=%r,Opt_Param1=%r,
> > Opt_Param2=%r\n" %(Man_Param,Opt_Param1,Opt_Param2)
> and show us the output of an example which is NOT working.
> printing with '%r" might help to show some 'hidden special characters'
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list