from MyQR import myqr
from tkinter import Tk Button Label Entry StringVar END
‘‘‘
本软件由个人研发,如有雷同纯属巧合
‘‘‘
win = Tk()
win.title(‘二维码生成器‘)
win.geometry(‘+814+340‘)
var1 = StringVar()
var2 = StringVar()
var3 = StringVar()
Label(win text=‘文本内容:‘).grid(row=0 column=0 padx=10 pady=5)
Label(win text=‘图片路径:‘).grid(row=1 column=0 padx=10)
Label(win text=‘是否黑白(Y/N):‘).grid(row=2column=0 padx=10)
entry1 = Entry(win textvariable=var1)
entry1.grid(row=0 column=1 padx=10 pady=5)
entry2 = Entry(win textvariable=var2)
entry2.grid(row=1 column=1 padx=10)
ent
评论
共有 条评论