def main(): pop_self_from_argv() if len(sys.argv) == 0: reader_main() else: with trace_context(): runpy.run_path(sys.argv[0], run_name='__main__')
def main(): pop_self_from_argv() if len(sys.argv) == 0: reader_main() else: sys.path.append(os.getcwd()) with trace_context(): runpy.run_path(sys.argv[0], run_name='__main__')