コード例 #1
0
ファイル: auto.py プロジェクト: dayifutian/MCC
 def __init__(self):
     self.mailHelper = mailHelper()
     self.configReader = configReader(self.CONFIGPATH)
     commandDict = self.configReader.getDict(self.KEY_COMMAND)
     openDict = self.configReader.getDict(self.KEY_OPEN)
     self.timeLimit = int(self.configReader.readConfig(self.KEY_BOSS, self.KEY_TIMELIMIT))
     self.excutor = executor(commandDict, openDict)
     self.toRun()
コード例 #2
0
ファイル: mcc.py プロジェクト: DeepInDeeper/mooc00
 def __init__(self):
     self.mailHelper = mailHelper()
     self.configReader = configReader(self.CONFIGPATH)
     commandDict = self.configReader.getDict(self.KEY_COMMAND)
     openDict = self.configReader.getDict(self.KEY_OPEN)
     self.timeLimit = int(self.configReader.readConfig(self.KEY_BOSS, self.KEY_TIMELIMIT))
     self.excutor = executor(commandDict, openDict)
     self.toRun()
コード例 #3
0
 def toRun(self):
     while True:
         self.mailHelper = mailHelper()
         self.run()
         time.sleep(self.timeLimit)
コード例 #4
0
ファイル: mcc.py プロジェクト: AugustLONG/jikexueyuanscrapy
 def toRun(self):
     while True:
         self.mailHelper = mailHelper()
         self.run()
         time.sleep(self.timeLimit)
コード例 #5
0
ファイル: excutor.py プロジェクト: YaqubGhazi/MCC
 def __init__(self, commandDict, openDict):
     self.mccLog = mccLog()
     self.mailHelper = mailHelper()
     self.commandDict = commandDict
     self.openDict = openDict