SyntaxFix
Write A Post
Hire A Developer
Questions
Use urllib2. For more specifics, check out this example from doc.python.org:
Here's a snippet from the tutorial that may help
import urllib2 req = urllib2.Request('ftp://example.com') response = urllib2.urlopen(req) the_page = response.read()