Python – if you know other languages here you go..
Download the python interpreter from the above link.
To check whether it has been installed, check in cmd prompt by
typing command python
python //it will show error as invalid command
so this means we need to set the path.
We can set it like below in cmd:
path %path%;<path were you have installed python>like
1 below
path %path%;c:\python34
So, it’s done now, check it again after you have set the
path like one above.
So, here we can write our program, I have written my simple
program as one below.
There are variety of editor for python, but always prefer to
use eclipse as it is having a very good plugin for python ,if you are java
programmer, then GOOD!! you already have knowledge in this.
So, we can go to eclipse downloads and download the standard
one
After you are done with the installation just, extract the downloaded
eclipse zip file and place it in the c:\program files.
Click eclipse.exe and here you go, but before you start, we need
to download the python plugin for eclipse.
//install JDK in case u get any error related to that
Go to help->Install New Softwares->Available software
sites->add http://pydev.org/updates , also you can
give any name like python to that.
Go to the work with option and put the name which you have
given earlier, it will start searching for pydev. So select pydev and install
it.
Go to
windows->preferences->pydev->interpreters->python interpretor->New!
Here add the python interpreter you have already installed earlier, as
discussed before in this writing.
So path will be c:\python34\python.exe //will depend in case you have changed the
by default installation settings, better to browse and then select the path.
So the ground is ready!!!!!Start playing..
No comments:
Post a Comment