Mega Code Archive

 
Categories / Python / Network
 

URL open and read

import urllib print urllib.urlopen('ftp://ftp.python.org/pub/python/README').read()