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


Groups > comp.lang.python > #13314 > unrolled thread

Re: help regarding re.search

Started byGelonida N <gelonida@gmail.com>
First post2011-09-15 11:05 +0200
Last post2011-09-15 11:05 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: help regarding re.search Gelonida N <gelonida@gmail.com> - 2011-09-15 11:05 +0200

#13314 — Re: help regarding re.search

FromGelonida N <gelonida@gmail.com>
Date2011-09-15 11:05 +0200
SubjectRe: help regarding re.search
Message-ID<mailman.1157.1316077570.27778.python-list@python.org>
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'






[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web