> The entry in the spinbox is a string.
Thanks. The only question now is why oh why would anyone design
something so stupid.
(severely tempted to go back to a strongly typed language before even
finishing one program)
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, 2006-02-22 at 18:37 -0800, [EMAIL PROTECTED] wrote:
> This odd bug has been annoying me for several days now. I finally got
> round to making this, frankly hilarious, testcase:
>
>
> from Tix import *
>
> def sayfive(num):
> if num<5: print num,"< 5"
> else: print num,">= 5"
>
>
This odd bug has been annoying me for several days now. I finally got
round to making this, frankly hilarious, testcase:
from Tix import *
def sayfive(num):
if num<5: print num,"< 5"
else: print num,">= 5"
sayfive(4)
sayfive(6)
rootwnd=Tk()
Control(rootwnd,command=sayfive).pack()
rootwn