[Python] 纯文本查看 复制代码from tkinter import *

root=Tk()

root.title("Atlantis Word Processor 注册机")

root.geometry('450x170')

root.resizable(0,0)

myTab = [

0x00000003, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000002, 0x00000006, 0x00000006, 0x00000004, 0x00000005, 0x00000003, 0x00000003, 0x00000004, 0x00000009, 0x00000006, 0x00000007,

0x00000005, 0x00000009, 0x00000005, 0x00000002, 0x00000009, 0x00000009, 0x00000007, 0x00000008, 0x00000004, 0x00000005, 0x00000005, 0x00000004, 0x00000001, 0x00000001, 0x00000007, 0x00000003,

0x00000007, 0x00000002, 0x00000008, 0x00000008, 0x00000002, 0x00000005, 0x00000003, 0x00000002, 0x00000000, 0x00000008, 0x00000002, 0x00000002, 0x00000000, 0x00000000, 0x00000008, 0x00000009,

0x00000009, 0x00000007, 0x00000000, 0x00000005, 0x00000008, 0x00000005, 0x00000005, 0x00000003, 0x00000001, 0x00000003, 0x00000000, 0x00000008, 0x00000001, 0x00000006, 0x00000001, 0x00000005,

0x00000000, 0x00000007, 0x00000000, 0x00000000, 0x00000005, 0x00000003, 0x00000003, 0x00000008, 0x00000002, 0x00000001, 0x00000007, 0x00000001, 0x00000007, 0x00000003, 0x00000002, 0x00000001,

0x00000001, 0x00000001, 0x00000001, 0x00000005, 0x00000000, 0x00000004, 0x00000003, 0x00000008, 0x00000000, 0x00000007, 0x00000001, 0x00000009, 0x00000000, 0x00000004, 0x00000002, 0x00000001,

0x00000002, 0x00000007, 0x00000004, 0x00000002, 0x00000003, 0x00000004, 0x00000008, 0x00000007, 0x00000006, 0x00000001, 0x00000008, 0x00000009, 0x00000002, 0x00000004, 0x00000007, 0x00000008,

0x00000004, 0x00000009, 0x00000005, 0x00000008, 0x00000004, 0x00000007, 0x00000000, 0x00000007, 0x00000004, 0x00000006, 0x00000003, 0x00000009, 0x00000000, 0x00000002, 0x00000002, 0x00000004,

0x00000000, 0x00000000, 0x00000004, 0x00000008, 0x00000004, 0x00000009, 0x00000003, 0x00000001, 0x00000001, 0x00000000, 0x00000006, 0x00000007, 0x00000007, 0x00000002, 0x00000009, 0x00000005,

0x00000004, 0x00000009, 0x00000001, 0x00000006, 0x00000009, 0x00000001, 0x00000001, 0x00000008, 0x00000007, 0x00000002, 0x00000004, 0x00000003, 0x00000006, 0x00000001, 0x00000006, 0x00000009,

0x00000000, 0x00000002, 0x00000007, 0x00000000, 0x00000004, 0x00000008, 0x00000009, 0x00000000, 0x00000009, 0x00000009, 0x00000007, 0x00000004, 0x00000002, 0x00000005, 0x00000006, 0x00000009,

0x00000005, 0x00000005, 0x00000003, 0x00000003, 0x00000003, 0x00000001, 0x00000004, 0x00000007, 0x00000008, 0x00000009, 0x00000001, 0x00000004, 0x00000003, 0x00000004, 0x00000007, 0x00000002,

0x00000009, 0x00000007, 0x00000001, 0x00000009, 0x00000007, 0x00000004, 0x00000009, 0x00000007, 0x00000006, 0x00000000, 0x00000008, 0x00000008, 0x00000004, 0x00000003, 0x00000001, 0x00000006,

0x00000006, 0x00000004, 0x00000006, 0x00000007, 0x00000008, 0x00000004, 0x00000001, 0x00000004, 0x00000004, 0x00000007, 0x00000003, 0x00000002, 0x00000004, 0x00000009, 0x00000000, 0x00000006,

0x00000003, 0x00000002, 0x00000006, 0x00000005, 0x00000007, 0x00000001, 0x00000004, 0x00000001, 0x00000007, 0x00000002, 0x00000001, 0x00000001, 0x00000002, 0x00000007, 0x00000002, 0x00000009,

0x00000002, 0x00000000, 0x00000008, 0x00000007, 0x00000000, 0x00000003, 0x00000008, 0x00000003, 0x00000008, 0x00000002, 0x00000006, 0x00000002, 0x00000009, 0x00000007, 0x00000002, 0x00000005,

0x00000003, 0x00000007, 0x00000006, 0x00000000, 0x00000000, 0x00000009, 0x00000003, 0x00000009, 0x00000004, 0x00000003, 0x00000009, 0x00000001, 0x00000009, 0x00000007, 0x00000009, 0x00000005,

0x00000001, 0x00000009, 0x00000006, 0x00000008, 0x00000008, 0x00000001, 0x00000008, 0x00000004, 0x00000001, 0x00000001, 0x00000009, 0x00000007, 0x00000008, 0x00000008, 0x00000002, 0x00000003,

0x00000003, 0x00000008, 0x00000000, 0x00000000, 0x00000005, 0x00000002, 0x00000007, 0x00000007, 0x00000000, 0x00000008, 0x00000003, 0x00000000, 0x00000000, 0x00000005, 0x00000001, 0x00000008,

0x00000005, 0x00000002, 0x00000007, 0x00000008, 0x00000009, 0x00000003, 0x00000007, 0x00000009, 0x00000004, 0x00000003, 0x00000001, 0x00000006, 0x00000004, 0x00000003, 0x00000004, 0x00000003,

0x00000003, 0x00000005, 0x00000005, 0x00000006, 0x00000007, 0x00000007, 0x00000006, 0x00000003, 0x00000003, 0x00000008, 0x00000001, 0x00000007, 0x00000004, 0x00000007, 0x00000008, 0x00000009,

0x00000001, 0x00000003, 0x00000007, 0x00000003, 0x00000001, 0x00000004, 0x00000007, 0x00000006, 0x00000001, 0x00000007, 0x00000004, 0x00000004, 0x00000004, 0x00000004, 0x00000002, 0x00000001,

0x00000000, 0x00000003, 0x00000008, 0x00000004, 0x00000007, 0x00000005, 0x00000003, 0x00000000, 0x00000009, 0x00000003, 0x00000001, 0x00000009, 0x00000002, 0x00000000, 0x00000002, 0x00000006,

0x00000002, 0x00000004, 0x00000003, 0x00000001, 0x00000009, 0x00000002, 0x00000005, 0x00000006, 0x00000001, 0x00000005, 0x00000000, 0x00000002, 0x00000002, 0x00000005, 0x00000006, 0x00000006,

0x00000007, 0x00000000, 0x00000000, 0x00000005, 0x00000000, 0x00000003, 0x00000005, 0x00000007, 0x00000005, 0x00000005, 0x00000009, 0x00000009, 0x00000008, 0x00000008, 0x00000005, 0x00000001,

0x00000005, 0x00000006, 0x00000006, 0x00000004, 0x00000005, 0x00000007, 0x00000007, 0x00000007, 0x00000000, 0x00000000, 0x00000005, 0x00000000, 0x00000006, 0x00000004, 0x00000005, 0x00000002,

0x00000008, 0x00000003, 0x00000002, 0x00000002, 0x00000007, 0x00000001, 0x00000001, 0x00000007, 0x00000006, 0x00000004, 0x00000005, 0x00000006, 0x00000006, 0x00000002, 0x00000009, 0x00000002,

0x00000001, 0x00000006, 0x00000007, 0x00000009, 0x00000001, 0x00000009, 0x00000008, 0x00000007, 0x00000005, 0x00000008, 0x00000000, 0x00000009, 0x00000005, 0x00000003, 0x00000003, 0x00000004,

0x00000002, 0x00000005, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000006, 0x00000007, 0x00000006, 0x00000004, 0x00000009, 0x00000005, 0x00000003, 0x00000000, 0x00000001, 0x00000004,

0x00000000, 0x00000007, 0x00000005, 0x00000008, 0x00000001, 0x00000006, 0x00000007, 0x00000000, 0x00000002, 0x00000006, 0x00000000, 0x00000006, 0x00000003, 0x00000004, 0x00000007, 0x00000003,

0x00000006, 0x00000002, 0x00000005, 0x00000003, 0x00000006, 0x00000009, 0x00000006, 0x00000004, 0x00000005, 0x00000008, 0x00000008, 0x00000006, 0x00000002, 0x00000006, 0x00000002, 0x00000009,

0x00000006, 0x00000007, 0x00000009, 0x00000008, 0x00000003, 0x00000003, 0x00000004, 0x00000007, 0x00000003, 0x00000000, 0x00000007, 0x00000001, 0x00000001, 0x00000000, 0x00000000, 0x00000006,

0x00000004, 0x00000001, 0x00000006, 0x00000007, 0x00000001, 0x00000009, 0x00000006, 0x00000003, 0x00000001, 0x00000002, 0x00000008, 0x00000008, 0x00000004, 0x00000001, 0x00000004, 0x00000007,

0x00000008, 0x00000004, 0x00000003, 0x00000003, 0x00000008, 0x00000001, 0x00000006, 0x00000005, 0x00000000, 0x00000007, 0x00000005, 0x00000002, 0x00000003, 0x00000003, 0x00000005, 0x00000006,

0x00000009, 0x00000005, 0x00000005, 0x00000007, 0x00000001, 0x00000001, 0x00000002, 0x00000009, 0x00000004, 0x00000009, 0x00000005, 0x00000000, 0x00000008, 0x00000003, 0x00000004, 0x00000001,

0x00000007, 0x00000002, 0x00000003, 0x00000008, 0x00000003, 0x00000003, 0x00000009, 0x00000008, 0x00000003, 0x00000001, 0x00000008, 0x00000005, 0x00000000, 0x00000001, 0x00000001, 0x00000004,

0x00000005, 0x00000002, 0x00000009, 0x00000001, 0x00000003, 0x00000001, 0x00000008, 0x00000005, 0x00000006, 0x00000003, 0x00000000, 0x00000009, 0x00000008, 0x00000001, 0x00000006, 0x00000002,

0x00000006, 0x00000004, 0x00000002, 0x00000005, 0x00000006, 0x00000008, 0x00000006, 0x00000001, 0x00000006, 0x00000008, 0x00000005, 0x00000004, 0x00000006, 0x00000007, 0x00000006, 0x00000002,

0x00000007, 0x00000003, 0x00000007, 0x00000008, 0x00000003, 0x00000001, 0x00000001, 0x00000005, 0x00000007, 0x00000006, 0x00000000, 0x00000001, 0x00000007, 0x00000007, 0x00000002, 0x00000009,

0x00000009, 0x00000000, 0x00000004, 0x00000005, 0x00000006, 0x00000007, 0x00000003, 0x00000000, 0x00000002, 0x00000008, 0x00000005, 0x00000003, 0x00000000, 0x00000000, 0x00000006, 0x00000002,

0x00000000, 0x00000001, 0x00000007, 0x00000009, 0x00000004, 0x00000005, 0x00000004, 0x00000006, 0x00000001, 0x00000008, 0x00000000, 0x00000000, 0x00000008, 0x00000008, 0x00000000, 0x00000008,

0x00000001, 0x00000002, 0x00000003, 0x00000005, 0x00000006, 0x00000009, 0x00000006, 0x00000002, 0x00000009, 0x00000008, 0x00000001, 0x00000004, 0x00000004, 0x00000004, 0x00000009, 0x00000005,

0x00000001, 0x00000004, 0x00000002, 0x00000004, 0x00000004, 0x00000005, 0x00000008, 0x00000008, 0x00000006, 0x00000000, 0x00000000, 0x00000009, 0x00000006, 0x00000009, 0x00000000, 0x00000003,

0x00000006, 0x00000008, 0x00000002, 0x00000008, 0x00000002, 0x00000003, 0x00000008, 0x00000007, 0x00000008, 0x00000008, 0x00000003, 0x00000009, 0x00000006, 0x00000009, 0x00000003, 0x00000005,

0x00000006, 0x00000008, 0x00000001, 0x00000005, 0x00000009, 0x00000001, 0x00000005, 0x00000003, 0x00000003, 0x00000005, 0x00000004, 0x00000001, 0x00000002, 0x00000006, 0x00000006, 0x00000008,

0x00000005, 0x00000005, 0x00000004, 0x00000006, 0x00000001, 0x00000004, 0x00000002, 0x00000003, 0x00000004, 0x00000008, 0x00000004, 0x00000001, 0x00000001, 0x00000005, 0x00000006, 0x00000004,

0x00000009, 0x00000005, 0x00000005, 0x00000005, 0x00000003, 0x00000004, 0x00000001, 0x00000005, 0x00000002, 0x00000008, 0x00000001, 0x00000005, 0x00000001, 0x00000002, 0x00000001, 0x00000009,

0x00000006, 0x00000002, 0x00000004, 0x00000007, 0x00000006, 0x00000000, 0x00000006, 0x00000007, 0x00000008, 0x00000007, 0x00000007, 0x00000000, 0x00000006, 0x00000003, 0x00000006, 0x00000009,

0x00000001, 0x00000005, 0x00000009, 0x00000004, 0x00000009, 0x00000005, 0x00000003, 0x00000000, 0x00000008, 0x00000005, 0x00000000, 0x00000006, 0x00000008, 0x00000009, 0x00000005, 0x00000001,

0x00000000, 0x00000007, 0x00000009, 0x00000008, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000007, 0x00000000, 0x00000005, 0x00000005, 0x00000001, 0x00000009, 0x00000009, 0x00000007,

0x00000001, 0x00000005, 0x00000001, 0x00000002, 0x00000002, 0x00000007, 0x00000003, 0x00000006, 0x00000009, 0x00000009, 0x00000006, 0x00000004, 0x00000006, 0x00000007, 0x00000008, 0x00000002,

0x00000008, 0x00000001, 0x00000000, 0x00000006, 0x00000007, 0x00000008, 0x00000002, 0x00000005, 0x00000005, 0x00000004, 0x00000003, 0x00000007, 0x00000009, 0x00000008, 0x00000000, 0x00000003,

0x00000003, 0x00000001, 0x00000004, 0x00000002, 0x00000009, 0x00000007, 0x00000007, 0x00000006, 0x00000007, 0x00000008, 0x00000003, 0x00000007, 0x00000004, 0x00000002, 0x00000006, 0x00000005,

0x00000009, 0x00000003, 0x00000008, 0x00000006, 0x00000006, 0x00000005, 0x00000005, 0x00000000, 0x00000006, 0x00000007, 0x00000005, 0x00000007, 0x00000005, 0x00000002, 0x00000009, 0x00000001,

0x00000005, 0x00000005, 0x00000008, 0x00000001, 0x00000000, 0x00000009, 0x00000006, 0x00000008, 0x00000001, 0x00000001, 0x00000001, 0x00000006, 0x00000006, 0x00000003, 0x00000005, 0x00000003,

0x00000009, 0x00000009, 0x00000002, 0x00000007, 0x00000005, 0x00000003, 0x00000002, 0x00000008, 0x00000006, 0x00000006, 0x00000008, 0x00000005, 0x00000003, 0x00000007, 0x00000006, 0x00000004,

0x00000002, 0x00000006, 0x00000003, 0x00000009, 0x00000001, 0x00000002, 0x00000007, 0x00000008, 0x00000007, 0x00000002, 0x00000000, 0x00000009, 0x00000007, 0x00000002, 0x00000008, 0x00000004,

0x00000001, 0x00000007, 0x00000008, 0x00000005, 0x00000006, 0x00000005, 0x00000003, 0x00000000, 0x00000000, 0x00000004, 0x00000006, 0x00000003, 0x00000004, 0x00000001, 0x00000009, 0x00000009,

0x00000003, 0x00000002, 0x00000000, 0x00000002, 0x00000002, 0x00000008, 0x00000003, 0x00000008, 0x00000001, 0x00000001, 0x00000000, 0x00000009, 0x00000005, 0x00000000, 0x00000003, 0x00000003,

0x00000006, 0x00000002, 0x00000003, 0x00000006, 0x00000009, 0x00000004, 0x00000000, 0x00000007, 0x00000003, 0x00000001, 0x00000000, 0x00000006, 0x00000001, 0x00000000, 0x00000009, 0x00000004,

0x00000009, 0x00000000, 0x00000004, 0x00000005, 0x00000002, 0x00000000, 0x00000008, 0x00000003, 0x00000001, 0x00000001, 0x00000007, 0x00000007, 0x00000004, 0x00000008, 0x00000003, 0x00000002,

0x00000008, 0x00000002, 0x00000002, 0x00000008, 0x00000009, 0x00000003, 0x00000009, 0x00000001, 0x00000008, 0x00000003, 0x00000002, 0x00000006, 0x00000000, 0x00000004, 0x00000003, 0x00000009,

0x00000004, 0x00000009, 0x00000003, 0x00000004, 0x00000005, 0x00000000, 0x00000002, 0x00000009, 0x00000001, 0x00000000, 0x00000003, 0x00000000, 0x00000005, 0x00000000, 0x00000003, 0x00000001,

0x00000009, 0x00000009, 0x00000000, 0x00000009, 0x00000002, 0x00000003, 0x00000001, 0x00000001, 0x00000006, 0x00000002, 0x00000005, 0x00000000, 0x00000005, 0x00000001, 0x00000006, 0x00000009,

0x00000008, 0x00000008, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000008, 0x00000006, 0x00000004, 0x00000009, 0x00000006, 0x00000000, 0x00000008, 0x00000007, 0x00000007, 0x00000008,

0x00000000, 0x00000003, 0x00000009, 0x00000008, 0x00000009, 0x00000009, 0x00000007, 0x00000005, 0x00000007, 0x00000004, 0x00000007, 0x00000006, 0x00000004, 0x00000005, 0x00000006, 0x00000000,

0x00000001, 0x00000001, 0x00000006, 0x00000008, 0x00000001, 0x00000004, 0x00000007, 0x00000002, 0x00000004, 0x00000004, 0x00000003, 0x00000007, 0x00000000, 0x00000004, 0x00000000, 0x00000003,

0x00000009, 0x00000002, 0x00000003, 0x00000000, 0x00000003, 0x00000006, 0x00000007, 0x00000005, 0x00000006, 0x00000006, 0x00000003, 0x00000001, 0x00000002, 0x00000001, 0x00000003, 0x00000003,

0x00000008, 0x00000008, 0x00000001, 0x00000007, 0x00000001, 0x00000004, 0x00000008, 0x00000002, 0x00000000, 0x00000006, 0x00000004, 0x00000007, 0x00000001, 0x00000002, 0x00000004, 0x00000003,

0x00000000, 0x00000003, 0x00000001, 0x00000006, 0x00000007, 0x00000003, 0x00000004, 0x00000006, 0x00000003, 0x00000004, 0x00000007, 0x00000007, 0x00000004, 0x00000009, 0x00000007, 0x00000000,

0x00000009, 0x00000005, 0x00000006, 0x00000004, 0x00000000, 0x00000000, 0x00000007, 0x00000003, 0x00000009, 0x00000007, 0x00000005, 0x00000000, 0x00000006, 0x00000001, 0x00000004, 0x00000008,

0x00000001, 0x00000002, 0x00000006, 0x00000004, 0x00000006, 0x00000005, 0x00000008, 0x00000007, 0x00000009, 0x00000004, 0x00000009, 0x00000007, 0x00000004, 0x00000005, 0x00000003, 0x00000002,

0x00000007, 0x00000009, 0x00000000, 0x00000004, 0x00000005, 0x00000007, 0x00000000, 0x00000009, 0x00000003, 0x00000009, 0x00000000, 0x00000003, 0x00000009, 0x00000008, 0x00000002, 0x00000009,

0x00000001, 0x00000009, 0x00000009, 0x00000009, 0x00000000, 0x00000008, 0x00000009, 0x00000000, 0x00000008, 0x00000002, 0x00000009, 0x00000001, 0x00000003, 0x00000009, 0x00000002, 0x00000002,

0x00000009, 0x00000007, 0x00000008, 0x00000003, 0x00000007, 0x00000004, 0x00000008, 0x00000004, 0x00000005, 0x00000000, 0x00000008, 0x00000005, 0x00000008, 0x00000001, 0x00000007, 0x00000000,

0x00000002, 0x00000004, 0x00000007, 0x00000008, 0x00000006, 0x00000007, 0x00000002, 0x00000005, 0x00000004, 0x00000000, 0x00000003, 0x00000000, 0x00000004, 0x00000000, 0x00000006, 0x00000000,

0x00000009, 0x00000003, 0x00000007, 0x00000007, 0x00000007, 0x00000008, 0x00000000, 0x00000007, 0x00000000, 0x00000009, 0x00000005, 0x00000009, 0x00000004, 0x00000000, 0x00000004, 0x00000006,

0x00000003, 0x00000004, 0x00000000, 0x00000001, 0x00000000, 0x00000005, 0x00000001, 0x00000009, 0x00000007, 0x00000005, 0x00000009, 0x00000000, 0x00000000, 0x00000004, 0x00000009, 0x00000007,

0x00000004, 0x00000006, 0x00000099, 0x00000086, 0x0000007f, 0x0000006f, 0x000000a3, 0x0000008f, 0x00000099, 0x00000086, 0x000000a3, 0x0000008f, 0x0000004e, 0x00000044, 0x0000005b, 0x0000004f,

0x00000096, 0x00000096, 0x00000096, 0x00000096, 0x00000096, 0x00000096, 0x0000002a, 0x00000024, 0x0000004e, 0x00000044, 0x0000004e, 0x00000044, 0x0000004e, 0x00000044, 0x0000002a, 0x00000024,

0x00000072, 0x00000064, 0x00000072, 0x00000064, 0x00000072, 0x00000064, 0x0000004e, 0x00000044, 0x00000072, 0x00000064, 0x0000004e, 0x00000044, 0x0000004e, 0x00000044, 0x0000004e, 0x00000044,

0x0000004e, 0x00000044, 0x0000002a, 0x00000024, 0x0000002a, 0x00000024, 0x00000037, 0x0000002f, 0x0000010e, 0x0000010e, 0x00000003, 0x00000003, 0x00000003, 0x00000003, 0x00000003, 0x00000002,

0x00000002, 0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000002, 0x00000001, 0x00000001, 0x00000001, 0x00000002, 0x00000002, 0x00000002, 0x00000001, 0x00000002, 0x00000001, 0x00000002,

0x00000002, 0x00000002, 0x00000001, 0x00000001, 0x00000001, 0x00000002, 0x000000a3, 0x0000008f, 0x00000064, 0x00000078, 0x000000b4, 0x000004ec, 0x000000c8, 0x0000012c, 0x000000f0, 0x00000104,

0x00000122, 0x00000118, 0x0000007d, 0x00000109, 0x00003016, 0x0000007b, 0x000000e7, 0x000000e6, 0x000000ca, 0x000000dc, 0x0000051f, 0x00000520, 0x000000e9, 0x000000a0, 0x00000000, 0x00000000

]

newTab = []

def mySUM(strInTemp):

a=0

#strInTemp = strInTemp.lower()

#strInput.set(strInTemp)

print(strInTemp)

for x in strInTemp:

s=ord(x)

print('c%',x)

a += s

return a

#计算注册码

def GetSum():

strIN=strInput.get().lower()

total=mySUM(strIN)

total %= 0x32

total *= 0x19

i=0

newTab.clear()

while(i<0x19):

newTab.append(myTab[total+i])

print(newTab[i],end=' ')

i += 1

nameLen = len(strInput.get())

print('')

i=0

k=0

strReg=''

strTemp = strInput.get().lower()

while(i

k = i % 0x19

newTab[k] += ord(strTemp[i])

print(('%x')%newTab[i],end=' ')

i += 1

i=0

print('')

while(i<0x19):

newTab[i] = newTab[i] % 0xA + 0x30

print(('%c')%newTab[i],end='')

strReg += chr(newTab[i])

i += 1

strOutput.set(strReg)

#清空

def myClear():

strInput.set('')

strOutput.set('')

f0 = Frame(root)

f1 = Frame(root)

f2 = Frame(root)

x1=5

y1=5

strInput = StringVar()

strOutput = StringVar()

label0=Label(f0, text="Atlantis Word Processor 注册机",fg='red',font=('隶书',14)).pack(side=LEFT, padx=5, pady=5)

f0.place(x=x1+80,y=y1)

label1=Label(f1, text="用户邮箱",font=('隶书',12)).pack(side=LEFT, padx=5, pady=5)

entry1=Entry(f1,textvariable=strInput,width=50,fg='black',bg='yellow')

entry1.pack(side=LEFT, padx=5, pady=5)

f1.place(x=x1,y=y1+35)

label2=Label(f2, text="注册信息",font=('隶书',12)).pack(side=LEFT, padx=5, pady=5)

entry2=Entry(f2,textvariable=strOutput,width=50,fg='white',bg='green')

entry2.pack(side=LEFT, padx=5, pady=5)

f2.place(x=x1,y=y1+35+35)

#按钮操作

bt1 = Button(root,text="计 算",command=GetSum)

bt1.place(x=x1+200,y=y1+120)

bt2 = Button(root,text="清 空",command=myClear)

bt2.place(x=x1+300,y=y1+120)

#复选框操作

check1 =IntVar()

check1.set(0)

cb1=Checkbutton(text='复制注册码',variable=check1)

cb1.place(x=x1+100,y=y1+120)

#复制注册码

def docheck1():

str3 = strOutput.get()

if check1.get():

data = strOutput.get()

entry2.clipboard_clear()

entry2.clipboard_append(data)

else :

entry2.clipboard_append(data)

cb1.config(command=docheck1)

entry1.focus()

root.mainloop()

python写算法注册机_用python 写 Atlantis Word Processor 注册机相关推荐

  1. python开发注册机_用python 写 Atlantis Word Processor 注册机

    [Python] 纯文本查看 复制代码from tkinter import * root=Tk() root.title("Atlantis Word Processor 注册机" ...

  2. python俄罗斯方块算法详解_用 Python 写一个俄罗斯方块游戏 (

    @@ -2,34 +2,34 @@ > * 原文作者:[Dr Pommes](https://medium.com/@pommes) > * 译文出自:[掘金翻译计划](https://g ...

  3. python写算法快吗_用python写排序算法

    希尔排序 希尔排序通过将比较的全部元素分为几个区域来提升插入排序的性能.这样可以让一个元素可以一次性地朝最终位置前进一大步.然后算法再取越来越小的步长进行排序,算法的最后一步就是普通的插入排序,但是到 ...

  4. 用python写注册登录_用Python实现web端用户登录和注册功能的教程

    用户管理是绝大部分Web网站都需要解决的问题.用户管理涉及到用户注册和登录. 用户注册相对简单,我们可以先通过API把用户注册这个功能实现了: _RE_MD5 = re.compile(r'^[0-9 ...

  5. python123注册登录_用Python实现web端用户登录和注册功能的教程

    用户管理是绝大部分Web网站都需要解决的问题.用户管理涉及到用户注册和登录. 用户注册相对简单,我们可以先通过API把用户注册这个功能实现了: _RE_MD5 = re.compile(r'^[0-9 ...

  6. 怎么用python写脚本刷金币_【python入门】之教你编写自动获取金币脚本

    最近看到个特别全面源码分享网站,刚好有个项目是一直想做但是没有头绪的,就想下载学习一下.注册账号后,发现还需要若干金币.后来发现可以通过每隔一定时间发心情状态来获得金币,就打算写一个自动发心情状态的 ...

  7. python写游戏棋牌游戏_使用python实现简单五子棋游戏

    使用python实现简单五子棋游戏 发布时间:2020-08-29 06:12:30 来源:脚本之家 阅读:73 作者:weixin_42874933 用python实现五子棋简单人机模式的练习过程, ...

  8. python写一个ssh工具_用Python写个自动ssh登录远程服务器的小工具

    很多时候我们喜欢在自己电脑的终端直接ssh连接Linux服务器,而不喜欢使用那些有UI界面的工具区连接我们的服务器.可是在终端使用ssh我们每次都需要输入账号和密码,这也是一个烦恼,所以我们可以简单的 ...

  9. 关于python小游戏的毕业论文_使用Python写一个小游戏

    引言 最近python语言大火,除了在科学计算领域python有用武之地之外,在游戏.后台等方面,python也大放异彩,本篇博文将按照正规的项目开发流程,手把手教大家写个python小游戏,来感受下 ...

  10. python写抢火车票软件_用 Python 代码自动抢火车票

    市场上很多火车票抢票软件大家应该非常熟悉,但很少有人研究具体是怎么实现的,所以觉得很神秘,其实很简单.下面使用Python模拟抢票程序,给大家揭秘抢票到底是怎么回事. 该代码仅供参考,主要用于大家沟通 ...

最新文章

  1. 讯飞智慧餐厅(全国赛区)比赛通知
  2. 一句SQL实现获取自增列操作
  3. Qt creator工程项目移植时因环境变换造成qmake错误的解决方案
  4. docker 安装nginx 配置目录挂载
  5. 自己动手开发智能聊天机器人完全指南(附python完整源码)
  6. 修改lastpass主密码后需重启firefox才能加载已保存的站点密码或用导入工具
  7. Python入门--函数的返回值
  8. python 读取yml文件_小白入门篇(一):Python基础之文件读取的讲解,记得收藏...
  9. Flink实时数仓(尚硅谷)- 数据采集
  10. 无人驾驶全家桶:机场“人货场”的改造之路
  11. Eviews10 如何将季度数据转为月度数据(低频转高频)
  12. php财务软件的报表如何实现,浪潮财务软件如何实现汇总报表系统调整表的接收 | 浪潮888博客...
  13. 荷兰国旗问题python_荷是什么意思 荷字五行属什么
  14. Mac剪切快捷键使用技巧
  15. The Fewest Coins(多重背包+完全背包)
  16. 信捷PLC以太网通讯数据采集解决方案
  17. phpcms上传图片去除水印
  18. 【数据结构】两栈共享空间(双端栈)
  19. ROS新手教程(talker/listener)
  20. JVM 垃圾回收(GC)

热门文章

  1. OpenCV-Python实现有参照物条件下的长方形物体尺寸推算(可实时、附源码)
  2. HPnbsp;Jetdirectnbsp;打印服务器配置
  3. 木东居士谈数仓的学习方法!
  4. clean-label backdoor attacks 论文笔记
  5. 数据库安装、数据导入及格式转换20200514
  6. JavaWeb-文件上传和下载
  7. NoSQLBooster for MongoDB的下载,安装,连接数据库,查询
  8. tcp ip通讯协议测试软件6,实验6 TCPIP协议属性设置
  9. 在JS中使用时间对象获取月份getMonth()时比实际的月份少一
  10. Hibernate入门简介----张冬