global variable

Tom llafba at gmx.net
Mon Jul 21 11:05:55 EDT 2003


Hi,

I have one "master" program which calls a small program. In this small 
program I want to work with a value from the "master" program. But I 
always get this error: NameError: global name 'T' is not defined

How can I define a global variable?

Thanks for your help.
Regards, Tom





More information about the Python-list mailing list