This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
importscript2# 导入脚本2,不会执行 script2.py 中的顶层代码
defmain():
print("Main function in script1")
if__name__=='__main__':
print("This code is executed when script1 is run directly.")