Issue 3408: urllib incomplete and urllib2 does not exist (original) (raw)

I am under Win XP sp 3: After importing urllib it only shows a few objects when using dir() urllib2 module does not exist.

.python Python 3.0b2 (r30b2:65106, Jul 18 2008, 18:44:17) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information.

import urllib dir(urllib) ['builtins', 'doc', 'file', 'name', 'package', 'pa th'] import urllib2 Traceback (most recent call last): File "", line 1, in ImportError: No module named urllib2