猫史档案馆


【Python作品分享】新的作品【作品秀】

用户:新星工作室闪耀的流星新星工作室闪耀的流星查看:0 回复:0 评论:0 创建时间:2020-05-20T13:37:48


【作品展示】

center_image

 

【作品介绍】

它能破解代码

 

【作品源代码】

import webbrowser
from tkinter import*
from tkinter import messagebox
from tkinter.ttk impor喵m/course-detail?id=1496296&lang=python
#http://code.xueersi.com/home/project/detail?lang=code&pid=4189790&version=offline&form=python&langType=python
# http://code.xueersi.com/home/project/detail?lang=scratch&pid=2316674&version=3.0&langType=scratch


def sk(ab=0):
    try:
        if ab:
            try:
                import pyperclip
            except:
                messagebox.showwarning("", "你没有下载pyperclip\n请安装后再使用此功能")
            pid = pyperclip.paste().split("id=")[1].split("&")[0]
            lang = pyperclip.paste().split("=")[-1]
        else:
            pid = str(Enter.get().split("id=")[1].split("&")[0])
            lang = str(Enter.get().split("=")[-1])
    except:
        messagebox.showwarning("", "你复制的网址有问题请重新复制")
    #http://code.xueersi.com/home/project/detail?lang=code&pid=1788467&version=2.0&form=cpp&langType=cpp
    if lang == "scratch":
        k = "https://code.xueersi.com/scratch3/index.html?pid=" + \
            pid+"&version=3.0&env=community"
    else:
        k = "http://code.xueersi.com/ide/code/"+pid
    webbrowser.open(k)


def shirt():
    sk(1)


def callback():
    res = messagebox.askokcancel("", "您确定要退出吗?")

    if res == True:
        window.destroy()
        sys.exit()
    else:
        return


print("此源码破解器可PJ:c++,python复制的源代码")
if input("你使用之后必须保证不抄别人做的作品,输入(已确认)确认:") != "不确认":
    import sys
    sys.exit()
window = Tk()
window.title('学而思工作室源代码破解器1.0')
window.geometry("650x150")

Enter = Entry(window)
lw = Label(window, text="输入作品网址:")
dtn = Button(window, text="        点击获取源代码       ", command=sk)
dtn1 = Button(window, text="点击自动读取剪贴板并获取源代码", command=shirt)
dtn.pack(side=TOP, fill=BOTH, expand=True)
dtn1.pack(side=TOP, fill=BOTH, expand=True)
Enter.pack(side=RIGHT, fill=X, expand=True)
lw.pack(side=RIGHT, fill=BOTH, expand=True)

window.protocol("WM_DELETE_WINDOW", callback)
messagebox.showwarning("", "请勿使用此破解器抄袭\n只能用来看源代码!\n眼观手勿动!!!")
window.mainloop()

 

【提示】

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

https://python.codemao.cn


回复

上一页1 页 / 共 0下一页