encoding=utf-8 name if name=="main": #功能自测代码 print(name+" test.") else: #外部引入后执行代码 print(name+" imported sucessfully.")