用户:
寻道子查看:93 回复:2 评论:5 创建时间:2022-05-02T21:41:48
【作品展示】

【作品介绍】
【作品源代码】
import easygui
import os
command = 'shutdown -s -t 0'
easygui.msgbox('即将关机', '警告', '我知道了')
os.system(command)
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn
糖醋板栗你......你......你太强啦!!
点赞1
评论
太简单了,是个人都会
可我还是一个新手,所以我才觉得他强(如果你懂的话就告诉我用的是什么原理)
英语会吗,那上就是执行关机的命令
https://shequ.codemao.cn/community/435284
还有这个,五子棋人机对决https://shequ.codemao.cn/community/456559