469,358 Members | 1,628 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,358 developers. It's quick & easy.

Starting IDLE without a subprocess

Could you pls explain how to get this to run without subprocesses mouse click by mouse click because im still not able to find idle help.
Thanx
Oct 27 '07 #1
5 6734
bartonc
6,596 Expert 4TB
Could you pls explain how to get this to run without subprocesses mouse click by mouse click because im still not able to find idle help.
Thanx
On Windows, all you have to do is right-click a .py file, pull down to Edit with IDLE and you'll have IDLE running without any subprocess.
Oct 27 '07 #2
Thank you so much FINALLY AN ANSWER!
Oct 27 '07 #3
bartonc
6,596 Expert 4TB
Thank you so much FINALLY AN ANSWER!
Actually, that precise question hasn't come up. I'm glad you asked.

There is also a command-line driven method which entails starting a shell command prompt (Start->Run cmd, on Windows) then type:
Expand|Select|Wrap|Line Numbers
  1. python idle.py -n
Provide that you have set up Python's location in you PATH environment variable.

With that caveat in mind, on Windows, you could also create a shortcut to the idle.py file and give the command-line option there.
Oct 28 '07 #4
Ok cool. I was just wondering wether there are any things that wont work properly when you run python without the subprocesses for example i am working with pygame and I just want to know if anything wont work without the subprocesses running. Thanks.
Nov 3 '07 #5
bartonc
6,596 Expert 4TB
Ok cool. I was just wondering wether there are any things that wont work properly when you run python without the subprocesses for example i am working with pygame and I just want to know if anything wont work without the subprocesses running. Thanks.
Since IDLE is Tkinter based, anything that uses Tkinter will not work properly.
The issue for "pure python" code is that the IDE's names space and your code's name space are all mashed together without a subprocess. IDLE and Tkinter are both showing there age and there is not much support/interest for either, these days.

The real answer is to get a better IDE. Once you see what a wxPython based GUI looks like, you'll probably never look back at Tkinter. Two of my favorites are (in no particular oder) Stani's Python Editor -SPE. and Boa Constructor. The former is great at browsing your codes name space and uses wxGlade for GUI code generation, the latter is a full RAD GUI generating tool. I use Boa, myself.
Nov 3 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Moosebumps | last post: by
6 posts views Thread by Batista, Facundo | last post: by
3 posts views Thread by Brent W. Hughes | last post: by
1 post views Thread by Bennie Tilma | last post: by
1 post views Thread by Bennie Tilma | last post: by
reply views Thread by Michael Boldin via alt email | last post: by
3 posts views Thread by W. Watson | last post: by
3 posts views Thread by Giraffe | last post: by
reply views Thread by Gabriel Genellina | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.