[BangPypers] Python place holder doubt

Aravind Muthu aravind.geek at gmail.com
Thu Nov 12 19:41:02 CET 2009


ok .sir

On Thu, Nov 12, 2009 at 6:36 PM, Pradeep Gowda <pradeep at btbytes.com> wrote:

> On Thu, Nov 12, 2009 at 3:04 AM, Aravind Muthu <aravind.geek at gmail.com>
> wrote:
> > Try this ..i dont know exactlly correct or not.....
> > url=self.BASEURL
> > final=+ "pmid=%d" + "&tag=ntag&type=ge" %d
> > urlparse.urljoin(url,final)
>
> There are two errors in the second line
> 1. what is =+ ?
> 2. and what  is the purpose of %d at the end of the line?
>
> PS: If you are not sure about the solution working you are not
> obligated to reply to the mail.
> (it takes less than 30 seconds to verify your solution in a python
> console, which I did),
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>


More information about the BangPypers mailing list