Re: problem with my urllib.urlopen() function

2007-04-04 Thread Gabriel Genellina
En Thu, 05 Apr 2007 02:40:38 -0300, Xell Zhang <[EMAIL PROTECTED]> escribió: > hello all, > I am a newbie in Python. > In my module, if I call urllib.urlopen() function like: > url = "http://www.google.com/"; > source = urllib.urlopen(url) > > Then in the output there will be an exception: > Exc

problem with my urllib.urlopen() function

2007-04-04 Thread Xell Zhang
hello all, I am a newbie in Python. In my module, if I call urllib.urlopen() function like: url = "http://www.google.com/"; source = urllib.urlopen(url) Then in the output there will be an exception: Exception exceptions.AttributeError: "'NoneType' object has no attribute 'print_exc'" in > ignore