Download:
Download Python from python Download version 2.6.x from Python. If you are using Windows you can use the native installer for Python.The following assume that you have already Eclipse installed. For an installation description of Eclipse please seeEclipse IDE for Java .
For Python development under Eclipse you can use the PyDev Plugin which is an open source project. Install PyDev via the pydev via the following update site.
Configuration of Eclipse
You also have to maintain in Eclipse the location of your Python installation. Open in the menu Window -> Preference and select Pydev-> Interpreter Python
Press new and maintain the path to "python.exe" in your installation directory.
The result should look like the following.
Your first Python program in Eclipse:
Select File -> New -> Project. Select Pydev -> Pydev Project.
Create a new project with the name "de.vogella.python.first". Select Python version 2.6 and your interpreter.
Press finish.
Select Window->Open Perspective ->Other. Select the PyDev perspective
Select the "src" folder of your project, right-click it and select New -> PyDev Modul. Create a module "FirstModule".
Now enjoy python programming...............
0 comments