Where is "urllib2" module in windows python3.1.1?

IWAKI, Hidekazu iwaki at iwakihidekazu.net
Fri Jan 1 09:19:57 EST 2010


>Python 3 doesn't have a urllib2 module; use the urllib package instead.

Thank you for your answer and the link.
Oh, sorry. It was one of the changes from .2.x to 3.x. I didn't know.
There are really important and a lot of changes.

Thank you!

On Fri, Jan 1, 2010 at 10:57 PM, Duncan Booth
<duncan.booth at invalid.invalid>wrote:

> Hidekazu IWAKI <iwaki at iwakihidekazu.net> wrote:
>
> > Hi;
> > I'd like to import "urllib2" in windows python 3.1.1, but I'm not able to
> > do it.
>
> Python 3 doesn't have a urllib2 module; use the urllib package instead.
>
> See http://www.python.org/dev/peps/pep-3108/#urllib-package
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100101/ba4c60c1/attachment-0001.html>


More information about the Python-list mailing list