def PrintSEM(filepath): if (filepath and os.path.isfile(filepath)): s = open(filepath, "rb") SEM = SecureSettingsApplyVariable(s) s.close() #now print it out. SEM.Print(True)
def get_sessionid_from_settings_packet(self, settingsfile): f = open(settingsfile, 'rb') rslt = SecureSettingsApplyVariable(f) f.close() rslt.Print() return rslt.SessionId