SyntaxFix
Write A Post
Hire A Developer
Questions
The URL should be a string:
import urllib link = "http://www.somesite.com/details.pl?urn=2344" f = urllib.urlopen(link) myfile = f.readline() print myfile