用户:
小鸟游刘网_Official查看:1 回复:3 评论:1 创建时间:2023-11-02T13:45:34
注意!此病毒对电脑无害!只供整人! importtkinterastk importrandom importthreading importtime defboom(): 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() threads=[] foriinrange(100): t=threading.Thread(target=boom) threads.append(t) time.sleep(0) threads[i].start() #广告时间 不刘名工作室招人啦!无门槛!详情见网站:buliumingbiancheng.mysxl.cn。
小鸟游刘网_Officialimport 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()
threads = []
for i in range(100):
t = threading.Thread(target=boom)
threads.append(t)
time.sleep(0)
threads[i].start()点赞1
评论