2011-05-10 53 views

回答

3
cd httplib2-0.6.0 
python setup.py install 
+0

感謝,運行它使用「設置.py install' - 如果我把'python'放在前面,它只是拋出錯誤'不被識別爲內部或外部命令' 嘗試在python中使用lib: 'o = urllib2.build_opener(urllib2.HTTPCookieProcessor()) NameError:name'urllib2'未定義' – 2011-05-10 22:00:06

+0

@ 4rd2:...'import urllib2'? – 2011-05-10 22:00:41

+0

不工作:-(下面的代碼: '#與HTTPCookieProcessor O = urllib2.build_opener構建揭幕戰(urllib2.HTTPCookieProcessor()) urllib2.install_opener(O)' 剛拋出這個錯誤: 'O =的urllib2。 build_opener(urllib2.HTTPCookieProcessor()) NameError:name'urllib2'未定義' – 2011-05-10 22:06:33