>>*** module any *** >>import dirs; >>def CheckDir(Dir): >> if Dir=dirs.Const_Up: xxx > > > This code should work fine, although you might want to follow > the Python conventions ........ What about using __builtins__ wouldn't make this the constant really global? cbf