import asyncioasync def func(): # async 异步 print("我是自由的函数")if __name__ == '__main__': # 程序的入口 # func() # 调用这个函数 f = func() asyncio.run(f)