AttributeError: 'module' object has no attribute 'urlopen'

stewart stewart at midtoad.homelinux.org
Tue Feb 24 01:58:00 EST 2004


dont bother wrote:

> Anyone knows how to fix this and why I am getting this
> error?

well, the sample works fine in the shell.  so the error is due to the
different way you refer to external modules when running from a file. 





More information about the Python-list mailing list