Re: how to detect the character encoding in a web page ?
在 2012年12月24日星期一UTC+8上午8时34分47秒,iMath写道: > how to detect the character encoding in a web page ? > > such as this page > > > > http://python.org/ first setup chardet import chardet #抓取网页html html_1 = urllib2.urlopen(line,timeout=120).read() #print html_1 mychar=chardet.detect(html_1) #pri
Re: New to python, do I need an IDE or is vim still good enough?
too much ide for python PyCharm PyDev(Eclipse) Pyscripter Sublime Text TextMate UliPad Vim for beginner best choiceidle -- http://mail.python.org/mailman/listinfo/python-list