i am a Java guy and working on Python is just like an adventure to my right now...so just to simplify my tasks m going for the IDE..could be done using Netbeans as well but i am using MyEclipse 8.6 here...hope u must be well aware of it..
Its always better to be updated rather then working on prior versions ,so without wasting any time lets directly move on to the Python development environment set up..
step-1: First of all download and install the latest version of Python(m using Python 3.2.2) from
step-1*: If u dont wannaa work using IDE ,then u need to set the Environment variables as PYTHONPATH to the Lib,Include of the Python installation directory.
Step-2: Now download the Python plugin( called as PyDev) for MyEclipse from within the MyEclipse.
Launch MyEclipse --->go to help-->Install new Software-->Enter http://pydev.org/updates in the Work with: field. --->Select the PyDev for option ----> Click "Next" and "OK" to continue installing PyDev. -->
Restart IDE to apply the complete updation.
Step-3: now we need to set up Python interpreter ..
Go to Window → Preferences. In the Preferences window, expand PyDev and select Interpreter-Python. ------> Click "New..." and type Python32 for the Interpreter name. For the Interpreter executable, browse to your copy of Python (C:\Program Files\Python32\python.exe), and press Open. ---> Click "OK .
The Interpreter is now set up so that the code you write can be interpreted for the computer to run. You are now ready to start running code..
No comments:
Post a Comment