def __init__(self, name="<STR_LIT>"):
<EOL>self.path_user      = _os.path.expanduser('<STR_LIT>')<EOL>self.path_home      = _os.path.join(self.path_user, "<STR_LIT:.>"+name)<EOL>self.path_settings  = _os.path.join(self.path_home, '<STR_LIT>')<EOL>if not _os.path.exists(self.path_home):<EOL><INDENT>print("<STR_LIT>"+self.path_home)<EOL>_os.mkdir(self.path_home)<EOL><DEDENT>if not _os.path.exists(self.path_settings):<EOL><INDENT>print("<STR_LIT>"+self.path_settings + "<STR_LIT:\n>")<EOL>open(self.path_settings, '<STR_LIT:w>').close()<EOL><DEDENT>lines = read_lines(self.path_settings)<EOL>self.prefs = {}<EOL>for n in range(<NUM_LIT:0>,len(lines)):<EOL><INDENT>s = lines[n].split('<STR_LIT:=>')<EOL>if len(s) > <NUM_LIT:1>:<EOL><INDENT>self.prefs[s[<NUM_LIT:0>].strip()] = s[<NUM_LIT:1>].strip()<EOL><DEDENT><DEDENT>
This class holds all the user-variables, paths etc...