아미(아름다운미소)

HTTP Request with Python 본문

랭귀지/PYTHON

HTTP Request with Python

유키공 2019. 9. 9. 17:12

HTTP GET in Python Python 3:

import urllib.request
contents = urllib.request.urlopen("http://test.com/?name=test&tel=01022223333").read()

Python 2:

import urllib2
contents = urllib2.urlopen("http://test.com/?name=test&tel=01022223333").read()
Comments