[BangPypers] Python place holder doubt

Aravind Muthu aravind.geek at gmail.com
Thu Nov 12 10:28:50 CET 2009


here i am going to get definition from google server

see..First u should use only Domail address
ex: www.google.co.in
it should be connected to server .. ...

after that use the :www.google.co.in/search?hl=en&q=define%3A"+query+""

On 11/12/09, Aravind Muthu <aravind.geek at gmail.com> wrote:
> what u going to access.......send the full path name
> pls
>
> On 11/12/09, kausikram krishnasayee <kausikram at gmail.com> wrote:
>>>
>>> url=self.BASEURL
>>> final=+ "pmid=%d" + "&tag=ntag&type=ge" %d
>>> urlparse.urljoin(url,final)
>>
>>
>> Final will raise an error.  Concatination and Formatting cannot be done
>> together.
>> final should either be
>> final = "pmid=%d" %(d,) + "&tag=ntag&type=ge"
>>
>> or final=("pmid=%d" + "&tag=ntag&type=ge") %(d,)
>> --
>> Kausikram Krishnasayee
>> Company: http://silverstripesoftware.com | Webpage: kausikram.net | Blog:
>> chaosbudha.blogspot.com | Twitter: http://twitter.com/kausikram | Email:
>> kausikram at gmail.com | Mobile: +91 9884246490
>> _______________________________________________
>> BangPypers mailing list
>> BangPypers at python.org
>> http://mail.python.org/mailman/listinfo/bangpypers
>>
>


More information about the BangPypers mailing list