[BangPypers] Python place holder doubt

Pradeep Gowda pradeep at btbytes.com
Thu Nov 12 14:06:26 CET 2009


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),


More information about the BangPypers mailing list