ok .sir
On Thu, Nov 12, 2009 at 6:36 PM, Pradeep Gowda wrote:
> On Thu, Nov 12, 2009 at 3:04 AM, Aravind Muthu
> 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 e
On Thu, Nov 12, 2009 at 3:04 AM, Aravind Muthu 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 th
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 wrote:
> what u going to access...
what u going to access...send the full path name
pls
On 11/12/09, kausikram krishnasayee 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
>
> 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,)
url = self.BASEURL + "pmid=%d" + "&tag=ntag&type=ge" %d
Try this ..i dont know exactlly correct or not.
url=self.BASEURL
final=+ "pmid=%d" + "&tag=ntag&type=ge" %d
urlparse.urljoin(url,final)
Aravind.
On 11/12/09, JAGANADH G wrote:
> On Wed, Nov 11, 2009 at 11:41 PM, Pradeep Gowda wrote
On Wed, Nov 11, 2009 at 11:41 PM, Pradeep Gowda wrote:
> On Wed, Nov 11, 2009 at 12:47 PM, JAGANADH G wrote:
> > url = self.BASEURL + "pmid=%d" + "&tag=ntag&type=ge" %d
>
> Did you mean:
> url = self.BASEURL + "pmid=%d" % (d, ) + "&tag=ntag&type=ge" ?
>
> Even though this might fix your proble
On Wed, Nov 11, 2009 at 11:41 PM, Pradeep Gowda wrote:
> On Wed, Nov 11, 2009 at 12:47 PM, JAGANADH G wrote:
> > url = self.BASEURL + "pmid=%d" + "&tag=ntag&type=ge" %d
>
> Did you mean:
> url = self.BASEURL + "pmid=%d" % (d, ) + "&tag=ntag&type=ge" ?
>
> Even though this might fix your proble
On Wed, Nov 11, 2009 at 12:47 PM, JAGANADH G wrote:
> url = self.BASEURL + "pmid=%d" + "&tag=ntag&type=ge" %d
Did you mean:
url = self.BASEURL + "pmid=%d" % (d, ) + "&tag=ntag&type=ge" ?
Even though this might fix your problem, don't use it.
To encode URLs always use urlencode: http://docs.py
Dear All
What is wrong with this expression
url = self.BASEURL + "pmid=%d" + "&tag=ntag&type=ge" %d
--
**
JAGANADH G
http://jaganadhg.freeflux.net/blog
Sent from Chennai, TN, India
___
BangPypers mailing list
BangPyper
10 matches
Mail list logo