Re: Beginner's doubt

2010-05-24 Thread Karen Tracey
On Mon, May 24, 2010 at 2:38 AM, ravi krishna wrote: > This is the error i get now > > InvalidURL at /index > > nonnumeric port: > > > Note httplib is part of base Python, not Django. Therefore you will likely find more expertise and help with using it on a Python list than

Re: Beginner's doubt

2010-05-24 Thread ravi krishna
This is the error i get now InvalidURL at /index nonnumeric port: On Mon, May 24, 2010 at 10:51 AM, ravi krishna wrote: > sorry the VIEW.py is: > > > > conn=httplib.HTTPConnection("www.python.org") > conn.request("GET", "/index.html") > > r1 = conn.getresponse() > print

Re: Beginner's doubt

2010-05-23 Thread ravi krishna
sorry the VIEW.py is: conn=httplib.HTTPConnection("www.python.org") conn.request("GET", "/index.html") r1 = conn.getresponse() print r1.status, r1.reason data1 = r1.read() conn.close() On Mon, May 24, 2010 at 10:30 AM, ravi krishna wrote: > Hi, > I want to retrieve data

Beginner's doubt

2010-05-23 Thread ravi krishna
Hi, I want to retrieve data from wikimapia api. For this i am using httplib function of python. this is my VIEW.py file( just the httplic() ) conn=httplib.HTTPConnection("www.python.org") r1 = conn.getresponse() print r1.status, r1.reason data1 = r1.read() conn.close() Initially i gave the