Windows / Ubuntu eclipse for python
1.安装Eclipse和Python
2.Eclipse安装PyDev插件
启用Eclipse
选择一个工作空间,
--> 在菜单中的Help,选择Install New Software···
选择Add按钮,Name:PyDev, Location:http://pydev.org/updates,OK
--> 选择PyDev下的PyDev for Eclipse,
-->安装 (中间选择信任Aptana、Pydev) 就可以了.
--> 最后重启Eclipse
3.配置PyDev插件
适合Python 3.x必选,Python 2.x。
1、PyDev->Interpreter - Python,New一个Python解释器,填上解释器名字和路径,路径选相应的python.exe。
2、General->Editors->Text Editors->Spelling,Encoding改成Other:UTF-8
3、General->Workspace,Text file encoding改成Other:UTF-8
4、找到安装目录下的\plugins\org.python.pydev.debug_x.x.x.yyyymmddhh\pysrc\pydevd.py,
920行的 encoding = Non 改成 encoding = "UTF-8",保存, OK
4.Python project
File->New->Project,选PyDev下的PyDev Project,Grammer和Interpreter选相应的版本,Finish。
-->-->