Notice
Recent Posts
Recent Comments
Link
목록진행 표시 줄 (1)
아미(아름다운미소)
파이썬에서 파일을 다운로드하는 방법- Python 2에서 파일을 다운로드하는 방법 import urllib urllib.urlretrieve ("http://www.example.com/songs/mp3.mp3", "mp3.mp3") (Python 3+에서는 'import urllib.request'와 urllib.request.urlretrieve를 사용하십시오) - 파이썬에서 파일을로드하는 방법(진행 표시 줄) import urllib2 url = "http://download.thinkbroadband.com/10MB.zip" file_name = url.split('/')[-1] u = urllib2.urlopen(url) f = open(file_name, 'wb') meta = u.info()..
랭귀지/python
2018. 1. 26. 13:00