Once you finished your installation of Python on your Windows OS,  GNU/Linux or Mac OS, let me tell you how to install it on your favorite IDE, Eclipse.

First of all, you have to download Eclipse on the official website. I suggest you to choose the JavaScript version.

Let's go.
Open Eclipse then:

Help > Eclipse Marketplace.
On the Find input, type PyDev and click the search icon.

PyDev - Python IDE for Eclipse appears.
Click the Install button on the right.

Let the all selected and click Next.
Accept the licence agreements and click Finish.
A new window asks you if you want to install an unsigned content.
You say OK and a new one appears.
Select the Aptana Pydev; Pydev; Aptana option and click OK.

Eclipse wants to restart now, so click Restart Now.

You are now able to read the file with the .py extension.
But you can not launch the python.exe yet.

So let's do it.
Click:

Window > Preferences > PyDev > Interpreter - Python > New.
Type the name you want and the Interpreter executable path, for example:

On Windows:

C:\soft\python\python3\python.exe

On GNU/Linux or Mac OS:

/usr/bin/python2.7

Click OK and let all subdirectories in yours selected, something like that:

C:\soft\python\python3\DLLs
C:\soft\python\python3\lib
C:\soft\python\python3
C:\soft\python\python3\lib\site-packages

Click OK again, you just added the Python's libraries.

To finish click Apply and OK.

To test this installation, let's create a new Python project:

Right click on the Navigator area and add a Project name: test

Select 2.7 or 3.0 in the Grammar Version area.

Click Finish.
In the src folder created, add a new file name hello.py.

Type it inside:

print('Hello World')

Save it.
There is a green icon with a white triangle in the toolbar, click it.
Choose Python Run on the window and OK.

In the Console window, you are seeing:

Hello World

Great job!
It was an important step in the Python world, you are now able to create great applications.

(转) Eclipse - Python - Installation of PyDev with a Python Hello World tutorial的更多相关文章

  1. How to Configure Eclipse for Python --- 在eclipse中如何配置pydev

    From: http://www.rose-hulman.edu/class/csse/resources/Eclipse/eclipse-python-configuration.htm Pytho ...

  2. [No000076]用Eclipse编写python(配置PyDev插件)

    下载,安装python解释器 地址:https://www.python.org/downloads/ 下载,安装java jdk 地址:http://www.oracle.com/technetwo ...

  3. Eclipse和PyDev搭建完美Python开发环境(Windows篇)

    目录安装Pythonpython for eclipse插件安装配置PyDev插件测试 安装Python从网站上下载最新的版本,从http://python.org/download/下载.安装过程与 ...

  4. 【转】Eclipse和PyDev搭建完美Python开发环境(Ubuntu篇)

    原文网址:http://www.cnblogs.com/Realh/archive/2010/10/10/1847251.html 前两天在Windows下成功地搭好了一个Python开发环境,这次转 ...

  5. Eclipse和PyDev搭建完美Python开发环境(Windows篇)(转)

      摘要:本文讲解了用Eclipse和PyDev搭建Python的开发环境. 十一长假在家闲着没事儿,准备花点时间学习一下Python. 今儿花了一个下午搭建Python的开发环境,不禁感叹————开 ...

  6. Eclipse上运行Python,使用PyDev

    转自:http://www.ibm.com/developerworks/cn/opensource/os-cn-ecl-pydev/index.html 级别: 初级 郑 伟芳 (zhengwf@c ...

  7. Eclipse和PyDev搭建完美Python开发环境 Windows篇

    1,安装Python Python是一个跨平台语言,Python从3.0的版本的语法很多不兼容2版本,官网找到最新的版本并下载:http://www.python.org, 因为之前的一个项目是2版本 ...

  8. eclipse安装插件的方法,以python为例子

    一 转载自:http://www.cnblogs.com/linzhenjie/articles/2639113.html 1.基本需求 1.Eclipse 集成开发环境下载 http://115.c ...

  9. python环境与PyDev IDE配置

    工具eclipse:我目前用是的Eclipse oxygen.历史版本可参考:https://wiki.eclipse.org/Older_Versions_Of_EclipsePython:http ...

随机推荐

  1. C#按钮打开浏览器,网址

    1.加入 using System.Diagnostics; 2. private void button_main_baidu_Click(object sender, EventArgs e) { ...

  2. VMware 虚拟机使用RedHat,出现 connect: Network is unreachable解決方法

    http://www.linuxidc.com/Linux/2015-02/113119.htm http://www.osyunwei.com/archives/7829.html

  3. 自定义VIew基础

    一.坐标 ①.通过View获取坐标,通过调用getLeft().getRight()...方法获取坐标. 1.获取到的是相对于View父控件的位置 2.指的是左上角和右下角的x,y值 3.View还提 ...

  4. ecshop安全方面的一些参考建议

    一,ecshop安装,其实很简单,只要一直下一步下一步点击即可,这样总是没有错的,因为官方不可能给我们一个有问题的程序,尽量从简即可. 请注意一下两点 A:在安装ecshop的时候,不要将所有文件都设 ...

  5. Strange Grid

    def main(): r,c = map(int, raw_input().split(' ')) if r % 2 != 0: base = 5*(r-1) else: base = 5*(r-2 ...

  6. WordPress插件开发记录

    1.a标签在新的网页中打开内容     <a href="网址" target="_blank"></a>      2.PDO的$re ...

  7. Linux里如何设置IP(RED HAT)

    一共包括以下两步 1:通过setup命令设置IP 保存…… --如果‘Use DHCP'处事[*],则可能无法手动输入IP,子网掩码和网关. 解决办法: 修改脚本/etc/sysconfig/netw ...

  8. C51 函数/程序段的定位

    在Keil C中可能需要指定某个函数或者某段程序链接后存放在程序区中的位置. 1. 如何指定某个函数在程序区中的位置. QUESTION How do I locate a C function at ...

  9. VBS 操作注册表 十六进制

    使用VBS操作注册表,通常使用RegRead/RegWrite/RegDelete方法,如: RegRead: 'read.vbs(将以下代码存为read.vbs文件) Dim OperationRe ...

  10. 关于tomcat startup.bat启动后一闪而过的问题(转)

    1.如果双击startup.bat,窗口一闪而过,可以在命令行里面启动startup.bat:  2.如果命令行里面启动startup.bat情况还是这样,就可以在bat命令后面加上pause.这样就 ...