How to fetch url with Python
Wed, 03/03/2010 - 01:58 | bbayer
Simple code for fetching url with python
import urllib2 f = urllib2.urlopen('http://www.python.org/') #You can use f variable like ordinary file print f.read(100)
4
Average: 4 (2 votes)
Recent comments
-
12 weeks 4 days ago
-
13 weeks 6 days ago
-
26 weeks 4 days ago
-
26 weeks 4 days ago
-
26 weeks 5 days ago


not at all
Submitted by bbayer on Wed, 03/03/2010 - 02:10.not at all
Thanks.
Submitted by gurayc on Wed, 03/03/2010 - 02:00.Thanks.