May-09-2017, 12:36 AM
here is a snippet example i coded yesterday:
if time_prefix: if sys.version_info.major < 3: def xprint(*args,**opts): opts['file']=efile try: return print(now().strftime(etformat),*args,**opts) except (IOError,KeyboardInterrupt): return else: def xprint(*args,**opts): opts['file']=efile try: return print(now().strftime(etformat),*args,**opts) except (BrokenPipeError,IOError,KeyboardInterrupt): return else: if sys.version_info.major < 3: def xprint(*args,**opts): opts['file']=efile try: return print(*args,**opts) except (IOError,KeyboardInterrupt): return else: def xprint(*args,**opts): opts['file']=efile try: return print(*args,**opts) except (BrokenPipeError,IOError,KeyboardInterrupt): return
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.