Best way to run Python programs

Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved

Join Date: Aug 2009
Posts: 1
Reputation: pynoc is an unknown quantity at this point 
Solved Threads: 0
pynoc pynoc is offline Offline
Newbie Poster

Best way to run Python programs

 
0
  #1
Aug 20th, 2009
I recently got into Python and I'm having trouble finding a good IDE for it. I'm on Windows. IDLE works but I'd rather use a different editor with more features.

I tried Wing IDE and I can't even find a Run command. Using the command line and typing in the name of the .py file to be run is irritating. Double clicking the file to auto-run it and pausing the command line with #raw_input() works, but not when there are syntax errors.

So far the best method I can find is to make a batch file and drag .py files onto it:

@echo off
%1
pause

Or I can replace "%1" with "c:\python26\python %1" and set .py files to open by default with the batch file. But this is still not ideal.

Any suggestions? Or help getting Wing to work?
Last edited by pynoc; Aug 20th, 2009 at 4:34 pm.
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 4,109
Reputation: vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice 
Solved Threads: 943
Moderator
vegaseat's Avatar
vegaseat vegaseat is offline Offline
DaniWeb's Hypocrite

Re: Best way to run Python programs

 
0
  #2
Aug 20th, 2009
Since you have Windows, try the PyScripter IDE from:
http://pyscripter.googlepages.com/
It has the usual run triangle icon, and you can run the code with or without saving the file. This IDE is an executable file written with Delphi, it is free (if you like it, donate a few bucks) and has lots of nice features.

Works best if you only have only one version of Python installed, like Python 3.1. PyScripter.exe is about 6.6 Megs, a far cry from huge programs like Netbeans and Eclipse (+300 Megs?).
Last edited by vegaseat; Aug 20th, 2009 at 10:50 pm.
May 'the Google' be with you!
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 1,056
Reputation: woooee is a jewel in the rough woooee is a jewel in the rough woooee is a jewel in the rough 
Solved Threads: 297
woooee woooee is online now Online
Veteran Poster

Re: Best way to run Python programs

 
0
  #3
Aug 20th, 2009
Try here for a comprehensive list http://wiki.python.org/moin/Integrat...ntEnvironments
Linux counter #99383
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for Python
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC