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

H

Hidekazu IWAKI

Hi;
I'd like to import "urllib2" in windows python 3.1.1, but I'm not able to
do it.
So, I researched the library directory; the result is following:

.....
.....
2009/06/07 19:11 61,749 unittest.py
2010/01/01 22:18 <DIR> urllib
2007/12/06 09:48 6,318 uu.py
2008/11/30 20:40 21,534 uuid.py
.....
.....

Although it has "urllib", it doesn't have "urllib2". I guess to download
and install the module. But I can't find "urllib2" module for windows
with google.

I wonder if it would be possible for me to give the location?
 
L

Lie Ryan

Hi;
I'd like to import "urllib2" in windows python 3.1.1, but I'm not able to
do it.
So, I researched the library directory; the result is following:

.....
.....
2009/06/07 19:11 61,749 unittest.py
2010/01/01 22:18<DIR> urllib
2007/12/06 09:48 6,318 uu.py
2008/11/30 20:40 21,534 uuid.py
.....
.....

Although it has "urllib", it doesn't have "urllib2". I guess to download
and install the module. But I can't find "urllib2" module for windows
with google.

I wonder if it would be possible for me to give the location?

urllib2 is merged into urllib in python3.
 
H

Hidekazu IWAKI

Hi.

Thank you for the answers.
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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top