1) The plugin which I use to develop Python programs on Eclipse is Pydev. It’s a free
plugin and can be downloaded from here Download

2) Install the Pydev by just following the instructions

3) Once the Pydev is installed open eclipse

4) Goto Window -> Preferences -> Pydev -> Interpreter Python

class="alignnone size-full wp-image-376" title="1_1" src="http://technologiquepanorama.files.wordpress.com/2010/04/1_1.jpg" alt="" width="468" height="451" />

5) Click on the New Button

class="alignnone size-full wp-image-378" title="2" src="http://technologiquepanorama.files.wordpress.com/2010/04/2.jpg" alt="" width="468" height="201" />

6) Select the path where the “python.exe” is present and click on OK

7) If the path is successfully found the screen should look like this

class="alignnone size-full wp-image-379" title="3" src="http://technologiquepanorama.files.wordpress.com/2010/04/3.jpg" alt="" width="467" height="457" />

8) Click on OK. Now goto Window -> Open Perspective

class="alignnone size-full wp-image-380" title="5" src="http://technologiquepanorama.files.wordpress.com/2010/04/5.jpg" alt="" width="365" height="440" />

9) Select the Pydev perspective , which means the plugin is successfully configured and you are ready to write the first program.

10) Goto File -> New -> PyDevProject

class="alignnone size-full wp-image-381" title="6" src="http://technologiquepanorama.files.wordpress.com/2010/04/6.jpg" alt="" width="468" height="490" />

11) After Click on Finish , the project appear is “PyDev Package Explorer”.

12) Right Click on src -> New-> PyDev Module

13) Enter the name of program and click on Finish.

14)The screen should appear as follows:

class="alignnone size-full wp-image-384" title="9" src="http://technologiquepanorama.files.wordpress.com/2010/04/9.jpg" alt="" width="468" height="318" />

16) Instead of “pass” write


print “Hello World”

17) Run the program with the play button as a normal java program runs.

18) Check the console screen to see “Hello World”

Categories: python

4 Responses so far.

  1. Susan Yates says:

    Nice post. I will bookmark it for when someone asks about how to use PyDev plugin in the Python Tutor mailing list.

    Great job!

  2. [...] This post was mentioned on Twitter by harshit rastogi. harshit rastogi said: How to install python plugin for eclipse :P ydev tutorial: http://wp.me/pc0I8-60 [...]

  3. [...] following the instructions 3) Once the Pydev is installed open eclipse 4) Goto Window ->… [full post] Harshit Java stories. pythoninstallationpydev 0 0 0 0 [...]

Leave a Reply