コード例 #1
0
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)
コード例 #2
0
 def get_sessionid_from_settings_packet(self, settingsfile):
     f = open(settingsfile, 'rb')
     rslt = SecureSettingsApplyVariable(f)
     f.close()
     rslt.Print()
     return rslt.SessionId