Source

wd_pys60 / wd_url2file.py

Full commit
1
2
3
4
5
6
7
8
9
import urllib

url="http://wap.3g.cn/index.aspx?fr=3GUC"

req=urllib.urlopen(url)
res=req.read()
_f=file("d:\\t.txt","w+")
print >> _f,res
_f.close()