473,387 Members | 1,497 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 7069
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

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

Similar topics

1
by: Moosebumps | last post by:
So say I am working on two separate .py files in IDLE that are part of the same program. Does anyone have problems where when you modify one file, and then run the other, the changes you made in...
6
by: Batista, Facundo | last post by:
I tested the following simple code: ----------------- from Tkinter import * class App: def __init__(self, master): frame = Frame(master)
3
by: Brent W. Hughes | last post by:
Sometimes when I try to start up idle.py (by double-clicking on the icon), I get the message: Python subprocess socket error: Connection refused, retrying.... It repeats the message a couple of...
1
by: Bennie Tilma | last post by:
I'm having trouble with opening the python IDLE-program. When I try to start it, it gives an errormessage wich states that it can not make a connection, possibly because of a firewall. However,...
1
by: Bennie Tilma | last post by:
I'm having trouble with opening the IDLE and running programs. Every time I try to open it, it says: 1. Socket error: Connection refused 2. IDLE's subprocess didn't make connection. Either IDLE...
0
by: Michael Boldin via alt email | last post by:
I installed python 2.5 and used the win package for installing MySQLdb. (Iam running Windows XP) Everything works as expected using python directly (Windows command shell) but using IDLE gives the...
2
by: Llessur16 | last post by:
I recently installed Python 2.5 for windows XP. It seemed to be working great. I was writing a simple program, and had tested it a couple times. When I was nearly done I tried to run it, and a box...
3
by: W. Watson | last post by:
After simply trying to write a program with help(MakeQTE), a module, and having it fail with socket errors, I decided to restart IDLE, thinking I knew the cause. I'm now getting msgs like: "IDLE's...
3
by: Giraffe | last post by:
I have the followong class in a file: -------------------------------------------- class someClass: def __init__ (self): self.someVar = 10 def getSomeVar (self): return self.someVar...
0
by: Gabriel Genellina | last post by:
En Wed, 20 Aug 2008 04:56:32 -0300, aditya shukla <adityashukla1983@gmail.comescribi�: Works fine for me, using Windows XP If you're pasting those lines directly over the shell window,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.