在eclipse中安装插件PyDev,就可以在eclipse中开发python了。
PyDev的官网:https://www.pydev.org/
不过可以直接在eclipse中用Marketplace安装(备注:有可能一次安装不成功,是因为下载太慢了,多试几次 ):

输入pydev查找:

点击"install":





重启eclipse后,选择Window-Preferences:
看到了PyDev,安装成功了:
选择PyDev->Interpreters->Python Interpreter:
单击右上角的"New":
选择 在本机安装的python安装目录下的python.exe:
取个名字,点击"OK":

点击右下角的"Apply":
现在就可以创建一个PyDev工程:


在工程下面创建一个hello_world.py文件:
然后按Ctrl-F11,或者从菜单选择来运行:
输出了正确的结果:
因为安装了PyDev插件,所以编辑python文件的时候,会给出提示:


