728x90
반응형
from urllib.request import urlopen
urlopen(image.url).read()
https://stackoverflow.com/questions/2792650/import-error-no-module-name-urllib2?rq=1
Import error: No module name urllib2
Here's my code: import urllib2.request response = urllib2.urlopen("http://www.google.com") html = response.read() print(html) Any help?
stackoverflow.com
728x90
반응형
'공부 (@Deprecated)' 카테고리의 다른 글
| [Python] for get index (0) | 2020.08.05 |
|---|---|
| [Python] substring; s[index:] (0) | 2020.08.05 |
| [Python] proxy image respnose content-type (0) | 2020.07.28 |
| [Linux] install python mysql (0) | 2020.07.28 |
| [Django] not like statement (0) | 2020.07.28 |