ImportError: No module named urllib2
Verfasst: Samstag 10. September 2011, 16:46
Hallo Python Gemeinde,
ich bin absoluter Python Neuling!
Installierte Version Python: 3.2.2
-----------------------------------------------
code:
========
import urllib2
result = urllib2.urlopen('http://www.python.org/')
print (result.read()
-----------------------------------------------
Ausgabe: No module named urllib2 !
-----------------------------------------------
Was mache ich falsch?
Im libs Ordner ist die urllib2.lib nicht zu finden! Ist das richtig so?
Kann es im Netz nicht zum Download finden!
Was tun?
Gruß
Sipatshi
ich bin absoluter Python Neuling!
Installierte Version Python: 3.2.2
-----------------------------------------------
code:
========
import urllib2
result = urllib2.urlopen('http://www.python.org/')
print (result.read()
-----------------------------------------------
Ausgabe: No module named urllib2 !
-----------------------------------------------
Was mache ich falsch?
Im libs Ordner ist die urllib2.lib nicht zu finden! Ist das richtig so?
Kann es im Netz nicht zum Download finden!
Was tun?
Gruß
Sipatshi