On 21-08-2010 16:29, mdipierro wrote:
> There was a problem in trunk that may have caused this. The problem
> was with the recent change in URL bahviour. I think I fixed it. Yet I
> cannot run your code. I am getting a strange error
>
>     fh = urlopen ( URL )
>     return fh.getcode()
> AttributeError: addinfourl instance has no attribute 'getcode'
sorry that's absolutely above my knowledge.
Maybe a different urllib ?
I hope someone else has an idea.

btw, I read in the documentation that's better to use urllib2 instead of urllib 
(don't ask me why ;-)


cheers,
Stef

Reply via email to