快考toefl了,又产生了考前综合症,只能看看 programming collective intellifence放松放松。。哎革命尚未成功,同志还需努力,什么时候不用再去考试。。
闲话不说了,在programming collective intelligence 这本书中,有大量的python的实例。不得已,得了python的开发平台。工欲善其事,必先利其器。
最好的选择:eclipse+pydev,python选择2.7,不要选择3.x,语法规则不同
1. click help->install eclipse new plug->name PyDev: site:http://pydev.sourceforge.net/updates/, restart eclipse
2. set python in eclipse: eclipse->window->preference->PyDev->Interpreter->python, choose python.exe
3. create a pydev project with python 2.7.
4. set project properties, pydev->pythonPath, add below folders
然后建立python工程:<