2、os.system("pause");. 这种方法需要包含os模块(import os),在windows下IDLE运行会弹出cmd命令行,. 进行暂停操作,直接运行.py文件会直接在命令行中暂停。
確定! 回上一頁