I have a program written in a .py format, but how can I make it run in it's own window, not inside the shell or console?
How do I make my source code run outside both the console and the shell?
Started by toxifyshadow, May 14 2010 08:21 PM
3 replies to this topic
#1
Posted 14 May 2010 - 08:21 PM
|
|
|
#2
Posted 18 May 2010 - 02:01 PM
You'd have to make the window happen :) If you're on Linux, try some module like 24.1. Tkinter ? Python interface to Tcl/Tk — Python v2.6.5 documentation or PyGTK
#3
Posted 19 May 2010 - 05:54 PM
I wouldn't mind knowing how to do this as well. I've got a few GUI's made with TKinter, and the windows console always loads with it. That's where it prints the exception handling messages.
#4
Posted 19 May 2010 - 07:05 PM
Using PyGTK, it works perfectly well (I've never used TKinter). For instance, you save a program like http://www.pygtk.org...s/helloworld.py as file.py, then run:
chmod +x file.pyThen just double click it and it runs without opening a terminal.


Sign In
Create Account



Back to top










