Can anyone please tell me an IDE for running python programs? Is it possible to run the program through command line?
-
2Who is dealing out all these -1 (Q & A alike)? Would you mind to comment? – Boldewyn Dec 17 '09 at 11:47
-
+1 to counter the unexplained downvote. – Grundlefleck Dec 17 '09 at 11:51
-
Actually, got downvoted in all of our answers, also, I am going to upvote all of the answers except myself. – YOU Dec 17 '09 at 11:53
-
The answers I could understand being downvoted - they answered the wrong question, it would appear. – Grundlefleck Dec 17 '09 at 11:55
-
1@Grundleflect, There is two part in question, and Original Question included "Can anyone plz tell me an IDE for running python programs.", you can check in edit logs, Some of us are answered for IDE, at that time. – YOU Dec 17 '09 at 11:58
-
@S.Mark: fair enough, I hadn't thought of the question changing. – Grundlefleck Dec 17 '09 at 12:02
-
4-1: http://www.python.org/, "Python runs on Windows" is prominently placed near the top of the page. – S.Lott Dec 17 '09 at 12:54
5 Answers
Take a look at ActiveState's ActivePython. It's quite a nice implementation of Python on Windows. Another way is using Cygwin's Python port. These two are Python implementations. I don't use an IDE, I write my Python code in Notepad++.
To run a python program after saving it to C:\Users\vaibhav\Code\myscript.py
:
ActivePython: If I remember right, ActiveState updates the path correctly. So it should be a s simple as:
- Press "start" in the task bar
- In the search field search for "cmd"
- In the appearing box navigate to your folder with the python script:
dir Users\vaibhav\Code
- call
python myscript.py
and you're done
Cygwin: After installing Cygwin, you have a full-featured bash terminal on your Windows machine.
- click on the Cygwin icon on your desktop
- In the appearing window navigate to the folder with your python script:
cd /cygdrive/c/Users/vaibhav/Code
- type
python myscript.py
- e voila

- 81,211
- 44
- 156
- 212
-
-
2What do you need cygwin for? Python works fine on windows, there is no need for that. – nikow Dec 17 '09 at 11:33
-
3
IDE for running scripts? You can have any IDE you like, but if you need only to run python scripts you go like this:
python.exe pythonScript.py

- 933
- 13
- 37
I like the EasyEclipse for python distribution. You'd need to have python and java installed of course.

- 23,575
- 2
- 47
- 51
PyDev and Komodo Edit are 2 nice Python IDE on Windows.
I also like the SciTE text editor very much.
These 3 solutions make possible to run Python scripts

- 41,928
- 25
- 127
- 172
I tried to run a Python script with multiprocessing on windows. see this tutorial
It does not work on Windows, but on raspian it went very well. Thus I knew that it was a Windows problem. I installed cygwin and followed this tutorial Installing Python inside Cygwin.
After that I additionally installed numpy with the command easy_install numpy
and now i can run python scripts with multiprocessing on windows (from cygwin).