[Tutor] TK?? Creating exe extentions...
Daniel Yoo
dyoo@hkn.eecs.berkeley.edu
Wed, 3 Jan 2001 18:23:08 -0800 (PST)
On Wed, 3 Jan 2001, Brad C. wrote:
> Hello agian. I'm back with probably a simple question. What is TK?
> WHat can it be used for? What is it used for, if anything? Also, how
> would I create an exe file extencion instead of .py?Thanks for the
> help. Happy New Year!
You'll hear a bit about Tk/Tcl when you make graphical-based programs.
Tk is a graphical interface language --- buttonbars, windows, labels,
images --- and Python lets you use Tk to build fancy graphical interfaces
through the Tkinter module. One nice example of Tkinter stuff is with
PySol, the Python solitare game:
http://pysol.tsx.org
Anyway, if you're interested in it, there's a topic guide about Tkinter
here:
http://python.org/topics/tkinter/
About the .exe thing: you can build .exe's by bundling the interpreter
along with your .py file. There's a utility by Gordon McMillian that does
this:
http://www.mcmillan-inc.com/install1.html
There are a few people on tutor that have successfully worked with it, so
if you have any questions, it can't hurt to ask us. *grin*