Added files for Ecoanova's Python 3 course.
This commit is contained in:
7
Ecoanova/Introduccion a Python 3/Ejemplos/http_client.py
Normal file
7
Ecoanova/Introduccion a Python 3/Ejemplos/http_client.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import urllib.request
|
||||
|
||||
# Create an HTTP request and get the response.
|
||||
response = urllib.request.urlopen("http://www.concisa.net.ve/2016/evi-2016-tutoriales/")
|
||||
# Get the response data.
|
||||
document = response.read()
|
||||
print(document)
|
Reference in New Issue
Block a user