猫史档案馆


【Python作品分享】千万别运行!!!【作品秀】

用户:泯生闪月泯生闪月查看:6 回复:3 评论:6 创建时间:2022-09-15T12:55:33


【作品展示】

center_image

 

【作品介绍】

从视频里学来的

非本人创意

暂不知原作者

另外,我自己是把这个程序跑了那么十几遍了的,虽然运行结果有点吓人,但绝对不会喵任何电脑上的信息。

emm......顶多把你电脑卡一卡

 

【作品源代码】

import tkinter as tk
import random
import threading
import time

def boom():
    window = tk.Tk()
    width = window.winfo_screenwidth()
    height = window.winfo_screenheight()
    a = random.randrange(0,width)
    b = random.randrange(0,height)
    window.title("你的电脑已中毒")
    window.geometry("200x50" + "+" + str(a) + "+" + str(b))
    tk.Label(window,text='你的电脑已中毒',bg = "red",font = ("宋体",17),width = 20,height = 4).pack()
    window.mainloop()

print("\n木马已经植入,即将启动!哈哈哈!")
print(3)
time.sleep(1)
print(2)
time.sleep(1)
print(1)
time.sleep(1)
print("不信?把这个页面最小化试试?")
threads = []
for i in range(1000000):
    t = threading.Thread(target = boom)
    threads.append(t)
    threads[i].start()

 

【提示】

部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:

https://python.codemao.cn


回复

上一页1 页 / 共 1下一页
ZJY0923ZJY0923

n b

点赞0


评论


小麦做的面包小麦做的面包

原视频链接?

点赞0


评论


Aurora晨曦Aurora晨曦

放虚拟机上试试

点赞0


评论