[Tutor] Simple calculator

2006-10-31 Thread Joe Cox
y", line 12, in ? entry.bind("", evaluate) File "D:\Python24\lib\lib-tk\Tkinter.py", line 933, in bind return self._bind(('bind', self._w), sequence, func, add) File "D:\Python24\lib\lib-tk\Tkinter.py", line 888, in _bind self.tk.call(what

Re: [Tutor] Decimal truncation, rounding etc.

2006-10-25 Thread Joe Cox
mal("7.000")Or is the problem that you're not able to read and parse the text file properly? On 10/25/06, Joe Cox <[EMAIL PROTECTED]> wrote: My next project is to read a doc file and do some number editing. I can alter numbers in the Intera

[Tutor] Decimal truncation, rounding etc.

2006-10-25 Thread Joe Cox
")   But when I go in to IDLE, I just don't seem to be able to make this work.   A typical line of code for me to read and edit will look like: G01 G91 X7.12345 Y7. Z-0.0086  The underlines is what I need to edit, as above.   I must not understand something fu

[Tutor] GUI new project

2006-10-22 Thread Joe Cox
.py", line 22, in __init__ , relief=SUNKEN) File "D:\Python24\lib\lib-tk\Tkinter.py", line 2409, in __init__ Widget.__init__(self, master, 'listbox', cnf, kw) File "D:\Python24\lib\lib-tk\Tkinter.py", line 1862, in __init__ self.tk.call( TclError:

[Tutor] Idle socket connection refused on w2k

2006-09-06 Thread Joe Cox
Alan, I got Active State program, man what a difference. Thanks for the help. I having fun again. -- Joe Cox 513-293-4830 Mobile ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Idle socket connection refused on w2k

2006-09-02 Thread Joe Cox
on't want to give up on python. If I need to do a dual boot and add Linux so be it. Joe Cox 513-293-4830 ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Listbox selection

2006-08-03 Thread Joe Cox
uot;, variable=var, value='c', command=radio_command).pack() radio_d = Radiobutton(root,text="Nickel", variable=var, value='d', command=radio_command).pack() radio_e = Radiobutton(root,text="Titaniuim", variable=var, value='e', command=radio_command).p

[Tutor] Binding ListBox

2006-07-21 Thread Joe Cox
I am learning Python 2.4 with Tkinter. I have a series of radio buttons that I want to bind to their own individual listbox in order to narrow down a selection process. I just don't seem to grasp how to call up the approiate box to it's proper radiobutton. Please help. Joe Cox 51

[Tutor] List Box binding

2006-07-19 Thread Joe Cox
I am using Tk and have a series of Radio buttons that I want to bind to it's own listbox for further selection. I just don't get the point how to click the button and select the proper listbox I want it tied too. Joe Cox513-293-4830 mobile[EMAIL PROTECTED]   ___