Re: [Tutor] understanding urllib.urlopen

2009-04-23 Thread bob gailer
johnf wrote: I'm trying to comfirm an address is a good address via google. Meaning does google report that the address exist. If I do urllib.urlopen( "http://maps.google.com/maps/geo?%s"; % params ) with the address in params. I get the longitude and latitude correctly. If I use the follo

Re: [Tutor] understanding urllib.urlopen

2009-04-23 Thread W W
On Thu, Apr 23, 2009 at 10:58 AM, johnf wrote: > On Thursday 23 April 2009 08:44:07 am Emile van Sebille wrote: > > johnf wrote: > > > > > > > But if I attempt this > > > urllib.urlopen( > > > "http://maps.google.com?q='18Tadlock > > > Place Woodland CA'" > > >

Re: [Tutor] understanding urllib.urlopen

2009-04-23 Thread johnf
On Thursday 23 April 2009 08:44:07 am Emile van Sebille wrote: > johnf wrote: > > > > But if I attempt this > > urllib.urlopen( "http://maps.google.com?q='18 Tadlock Place Woodland CA'" > > ) it always fails. > > What do you get? I don't get an error. > > Emile > > ___

Re: [Tutor] understanding urllib.urlopen

2009-04-23 Thread Emile van Sebille
johnf wrote: But if I attempt this urllib.urlopen( "http://maps.google.com?q='18 Tadlock Place Woodland CA'" ) it always fails. What do you get? I don't get an error. Emile ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/l

[Tutor] understanding urllib.urlopen

2009-04-23 Thread johnf
I'm trying to comfirm an address is a good address via google. Meaning does google report that the address exist. If I do urllib.urlopen( "http://maps.google.com/maps/geo?%s"; % params ) with the address in params. I get the longitude and latitude correctly. If I use the following in the addr