Re: [Tutor] Python and Tkinter (total newbie)

2011-12-09 Thread Alan Gauld
On 09/12/11 19:03, Richard Lyons wrote: I have tried to enter the first sample program from p. 19 in Grayson: Python and Tkinter Programming. When I run the program I get an error as follows: Traceback (most recent call last): File "/home/dick/Desktop/calc1.py", line 50, in if _name_ == '_main_

Re: [Tutor] Python and Tkinter (total newbie)

2011-12-09 Thread Dave Angel
On 12/09/2011 02:03 PM, Richard Lyons wrote: I have tried to enter the first sample program from p. 19 in Grayson: Python and Tkinter Programming. When I run the program I get an error as follows: Traceback (most recent call last): File "/home/dick/Desktop/calc1.py", line 50, in if _name_

[Tutor] Python and Tkinter (total newbie)

2011-12-09 Thread Richard Lyons
I have tried to enter the first sample program from p. 19 in Grayson: Python and Tkinter Programming. When I run the program I get an error as follows: Traceback (most recent call last): File "/home/dick/Desktop/calc1.py", line 50, in if _name_ == '_main_': NameError: name '_name_' is not d