| | |
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:
Solved Threads: 0
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?
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.
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?).
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!
•
•
Join Date: Dec 2006
Posts: 1,056
Reputation:
Solved Threads: 297
Try here for a comprehensive list http://wiki.python.org/moin/Integrat...ntEnvironments
Linux counter #99383
![]() |
Similar Threads
- run j2me programs on ubuntu x64 (Java)
- How to include loops in independent python programs (Python)
- how to run a python script from another python sript (Python)
- Python Programs (Python)
- Can python programs be embedded into web pages? (Python)
- On a thumb drive. (Python)
- Including other python programs (Python)
- Portable Java (Java)
Other Threads in the Python Forum
- Previous Thread: python tk Text
- Next Thread: slow mystring = str(myint)
| Thread Tools | Search this Thread |
Tag cloud for Python
abrupt ansi anti approximation assignment avogadro backend basic beginner binary bluetooth calculator character code customdialog decimals dictionaries dictionary drive dynamic examples excel exe file float format ftp function gnu graphics gui heads homework http ideas import input java launcher leftmouse line linux list lists loop module mouse number numbers output parsing path pointer port prime program programming progressbar projects py2exe pygame pyqt python random recursion recursive refresh schedule scrolledtext sqlite ssh statistics stdout string strings sudokusolver sum table terminal text thread threading time tkinter tlapse tricks tuple tutorial twoup ubuntu unicode update urllib urllib2 variable wikipedia windows write wxpython xlib






