NameError

GMTaglia liquid at kuht.it
Tue Oct 5 16:27:05 EDT 2004


Answering to myself....

> probably dumb question but after googling a lot I couldn't find an answer.
> with a simple Gtk:Dialog I have this error:

yep really dumb

> 
> Traceback (most recent call last):
>   File "elenco.py", line 122, in show_msg
>     dialog.vbox.pack_start(label, TRUE, TRUE, 0)
> NameError: global name 'TRUE' is not defined
> 

I just thought that TRUE (uppercase) was valid python....or not... :)

Cheers, Mario



More information about the Python-list mailing list