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