Open insikk opened 6 years ago
import logging class WORK(): pass def get_work_from_boss(): return WORK() def process(task): pass def is_fun(task): pass if __name__ == "__main__": mywork = get_work_from_boss() try: process(work) except KeyboardInterrupt: # Ctrl-C? if is_fun(work): logging.verbose("add to my pet project. making github private repo...") else: logging.verbose("시간만 날렸네... OTL...")
개발자
by @insikk