Download a file from the internet
Download a file from the internet
def downloadUrl(url): import urllib data = urllib.urlopen(url) return data.readlines() url = 'http://www.pycode.com' print downloadUrl(url)