import sys if __name__ == "__main__": print("import_main_exception - main") raise RuntimeError("raised from __main__")