æ¥ä»ãæ±ãå¦çã«ã¤ãã¦ããããã¾ã¨ããã¤ãã§ã«ãããã¨ç°¡åãªãã¨ã ãã©ç¥ããªãã¨è½ã¨ãç©´ã«ãããç³»ã®ãã¿ãã æ¥é ãããããªå¦çãæ¸ãã¦ãã¦ãç¾æå»ãæ±ããã¨ãã¯å°ãªããªãã¯ãã§ããã§ããããããé©å½ã«ãã£ã¦ããã¨å°ããã¨ãå¤ã ããã¾ãã å®è¡ä¸ã«ãç¾æå»ããå ã«ããå¦çãé£ãéã ä¾ãã°ãããªã³ã¼ãããã°éè¨ã¨ããã£ã¦ãã¤ã¡ã¼ã¸ã§ãã class Analyzer(object): def analyze(self): logfile = datetime.datetime.now().strftime('my_log_file.%H') self.save(self.analyze_logfile(logfile)) def save(self, result): now = datetime.datetime.now() self.result[now.hour] = result
{{#tags}}- {{label}}
{{/tags}}