Help implementing an idea

2005-06-17 Thread Nicholas . Vaidyanathan
Well, I'm a total python n00b, but I was playing around with exception handling yesterday, and was stricken by how incredibly easy it is to use the op system to create nice scripts... I did the following: import sys lines = sys.stdin.readlines() lines.sort() for stuff in lines: print stuff ,

Tkinter Question

2005-06-15 Thread Nicholas . Vaidyanathan
Title: Tkinter Question Thanks for all the help guys… I'm a bit confused as to the inner workings of the Tkinter system (I'm both a Python and a GUI n00b). I was hoping that by slapping the x on button python was doing some cool dynamic variable creation (i.e. creating 9 variables with 1 loop

Tkinter question

2005-06-14 Thread Nicholas . Vaidyanathan
Title: Tkinter question I'm sure there must be a way to do this, but I can't figure it out for the life of me… I'm writing a program where I would like to use a button's text field as part of an if statement. I set up my button like this:  i = [ "7", "8","9", "/", "4", "5", "6", "*", "1", "2