Y
yomgui
I've tried this:
import MyPackage
if MyPackage.aVariable is None:
MyPackage.aVariable = True
but when I tried to access MyPackage.aVariable from another file
(ie through an other import) the value is still None.
how can I do this
thanks
yomgui
import MyPackage
if MyPackage.aVariable is None:
MyPackage.aVariable = True
but when I tried to access MyPackage.aVariable from another file
(ie through an other import) the value is still None.
how can I do this
thanks
yomgui