Hey
Thanks.

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
knowledge.

Thanks a bunch of all. My day is saved.

Best Regards,
Sagar Neve.


On Thu, Sep 15, 2011 at 2:35 PM, Gelonida N <gelon...@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'
>
>
>
>
>
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to