Version: 9.16.0
Utils_Identity.py File Reference

Data Structures

class  Utils_Identity.Identity
 

Namespaces

namespace  Utils_Identity
 Module to get information about user and version.
 

Functions

def Utils_Identity.getShortHostName ()
 
def Utils_Identity.getapplipath ()
 
def Utils_Identity.version ()
 

Variables

 Utils_Identity.file = open(os.path.join(os.environ["KERNEL_ROOT_DIR"],"bin","salome","VERSION"), "r")
 
 Utils_Identity.s = file.readline()
 
 Utils_Identity.versnb = string.strip(string.split(s, ":")[1])
 
string Utils_Identity.dirname = ".salome_"+versnb