The IDLE integrated development environment that comes with the normal Python installation is really a GUI program. It uses Tkinter as the GUI interface/library, also part of the normal installation. Tkinter uses tcl script language to do the work.
Here is a typical Python code example using Tkinter ...
# explore the Tkinter GUI toolkit
try:
# for Python2
import Tkinter as tk
except ImportError:
# for Python3
import tkinter as tk
# create a window frame
frame1 = tk.Tk()
# create a label
label1 = tk.Label(frame1, text="Hello, world!")
# pack the label into the window frame
label1.pack()
frame1.mainloop() # run the event-loop/program
This code should run on Windows and Unix (PC or Mac). On a Windows machine save the program with a .pyw extension. This way it associates with pythonw.exe and avoids the ugly black DOS display popping up.
You can also find much Tkinter detail at:
http://infohost.nmt.edu/tcc/help/pub...ter/index.html
There is another GUI library worth mentioning, it's wxPython based on C++. The code is more efficient for GUI stuff. The download of the installer is free, look at
http://wiki.wxpython.org/
You can get wxPython for either Windows or Linux. There are some wxPython GUI examples in the DaniWeb Python Code Snippets. Here is a very nice wxPython tutorial I like to recommend, it will give you a good overview (examples work on Windows, Linux, or Unix):
http://wiki.wxpython.org/index.cgi/AnotherTutorial
Note: GUI stands for Graphical User Interface. It's the usual Window matter like frames, buttons, labels, editboxes.