question on global variables

mongo57a at comcast.net mongo57a at comcast.net
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".

TIA


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



More information about the Python-list mailing list