1import one 2 3print("top-level in two.py") 4 5one.func() 6 7if __name__ == "__main__": 8 print("two.py is being run directly") 9else: 10 print("two.py is being imported into another module") 11 12