question on global variables

mongo57a at mongo57a at
Thu Oct 10 07:27:39 CEST 2002

Somewhat new to Python here.....

I want to change/use a value throughout my program - what I would normally
refer to as a "global" variable.

I see that there is a "global" command - and I assume its use would be
global var_name. This I have coded (works) but I am unable to use it "global
name var_name is not defined".


-----------== Posted via Newsfeed.Com - Uncensored Usenet News ==----------       The #1 Newsgroup Service in the World!
-----= Over 100,000 Newsgroups - Unlimited Fast Downloads - 19 Servers =-----

More information about the Python-list mailing list