Global variables..
Ishwar Rattan
rattan at cps.cmich.edu
Tue Oct 26 07:43:41 EDT 2004
More information about the Python-list mailing list
Tue Oct 26 07:43:41 EDT 2004
- Previous message (by thread): Global variables..
- Next message (by thread): Paid Research Project on Stackless 3.1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jeff Shannon <jeff at ccvcorp.com> wrote in message news:<10nr45n59gk9011 at corp.supernews.com>... > Ishwar Rattan wrote: > > >Say I have two pythom modules in separate files: > >main.py -> contains main() modules and uses a global variable (say a) > >incr.py -> contains incre() that changes the value of global variable a > >(called in main()) > > > >Is there a way to reflect the change in main()? > > > > > > Hm, second time today that this question has been asked. (And both > posts sport an .edu address, too.) Coincidence? > Recall the old adage that if one can't do it then one can always teach :-) Thanks for the answer. -ishwar
- Previous message (by thread): Global variables..
- Next message (by thread): Paid Research Project on Stackless 3.1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list