Hi !
I want to create an module and I want to use some Global Constant in it.
How to I create an global constant in module what is accessable in from other modules ?
like this example:
*** module dirs ***
const Const_Up=1
const Const_Down=1
*** module any ***
import dirs;
def CheckDir(Dir):
if Dir=dirs.Const_ Up: xxx
?????
Thx:
Chris
I want to create an module and I want to use some Global Constant in it.
How to I create an global constant in module what is accessable in from other modules ?
like this example:
*** module dirs ***
const Const_Up=1
const Const_Down=1
*** module any ***
import dirs;
def CheckDir(Dir):
if Dir=dirs.Const_ Up: xxx
?????
Thx:
Chris
Comment