Global package variable, is it possible?

Fabio Z Tessitore fabioztessitore at libero.it
Fri Aug 3 13:51:45 EDT 2007


Heve you tried to do something like:

# module configure.py
value1 = 10
value2 = 20
...


# other module
from configure import *

# now I'm able to use value1 value2 etc.
var = value1 * value2

bye



More information about the Python-list mailing list