question on global variables
Terry Reedy
tjreedy at udel.edu
Thu Oct 10 00:50:26 EDT 2002
More information about the Python-list mailing list
Thu Oct 10 00:50:26 EDT 2002
- Previous message (by thread): question on global variables
- Next message (by thread): question on global variables
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
<mongo57a at comcast.net> wrote in message news:3da4fe61_8 at goliath.newsgroups.com... > 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". look up 'global' statement in ref manual and use groups.google to look up 'global variables' within Python archive -- this has been discussed in several postings TJR
- Previous message (by thread): question on global variables
- Next message (by thread): question on global variables
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list