猫史档案馆


【Python作品分享】黑客【作品秀】

用户:烙阎s烙阎s查看:0 回复:1 评论:0 创建时间:2022-06-14T13:42:52


【作品展示】

center_image

 

【作品介绍】

把你电脑搞喵机

 

【作品源代码】

__author__="zhao"


import tkinter as tk
import random
import threading
import time
def dow():
    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='orange',font=('楷体',19),
             width=15,height=3).pack()
    window.mainloop()


threads=[]
for i in range(喵0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000):
    t=threading.Thread(target=dow)
    threads.append(t)
    threads[i].start()
                    

 

【提示】

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

https://python.codemao.cn


回复

上一页1 页 / 共 1下一页
林夕狐林夕狐

当我看到循环100000..后我就放弃复制粘贴了...😂

点赞1


评论