python read url

Solutions on MaxInterview for python read url by the best coders in the world

showing results for - "python read url"
Muriel
01 Apr 2018
1import urllib
2
3link = "http://www.somesite.com/details.pl?urn=2344"
4f = urllib.urlopen(link)
5myfile = f.read()
6print(myfile)
7