A Mountain of Perl Books + Python Advocacy

tony summerfelt tsummerfelt1 at myspleenhome.com
Tue May 9 12:20:31 EDT 2000


On Mon, 08 May 2000 16:30:21 GMT, Fredrik Lundh wrote:

> cannot tell what that one's doing without running it,
> and I don't have perl on this box...

a perl programmer would be able to tell what it did. the reason it's a short
program is that it uses some of perl's `quirkiness' 

> #!/usr/bin/env python
> 
> from Tkinter import *
> import sys
> 
> b = Button(text="Exit", command=sys.exit)
> b.pack()
> 
> mainloop()

that's pretty easy to follow.

this whole excercize for me is going to be interesting. i'm coming in here
with just about zero knowledge of python. the only documentation i have is
what got installed with suse 6.4 (and the windows version) plus what i
snagged off the python site...

-- 
*----------------------------------------
| 
|http://members.home.net/tsummerfelt1
|
|remove myspleen to email
|
*-----------------------



More information about the Python-list mailing list