473,289 Members | 1,947 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,289 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 7060
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: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.