Tk-Problem?

Hans Gubitz gubitz at netcologne.de
Sun Jul 11 18:14:15 EDT 1999


I need some help. What am I doing wrong?

gubitz at pumuckl:~/python/apk > python
Python 1.5.1 (#1, Apr  5 1999, 00:08:45)  [GCC egcs-2.91.66 19990314 (e on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> float("1")
1.0
>>> from Tkinter import *
>>> root=Tk()
>>> button=Button(root, text="Quit", command=root.destroy)
>>> button.pack()
>>> root.mainloop()
>>> float("1")
Traceback (innermost last):
  File "<stdin>", line 1, in ?
ValueError: float() literal too large: 1


--
Hans Gubitz
email: gubitz at netcologne.de




More information about the Python-list mailing list