About this user

Iwan Svyatenko

« Newer Snippets
Older Snippets »
1 total  XML / RSS feed 

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)
« Newer Snippets
Older Snippets »
1 total  XML / RSS feed