Python Tutorial中文版2.4
http://man.lupaworld.com/content/develop/python_2_4_tut/html/index.html
识别文字的编码模块:
http://chardet.feedparser.org/docs/usage.html#usage.advanced
获得机器的internet IP:
>>> import re,urllib2
>>> re.search('/d+/./d+/./d+/./d+',urllib2.urlopen("http://www.hereismyip.com").read()).group()
'58.49.245.149'