要求:賬號密碼輸入框,插入圖片等
參考鏈接:https://www.jianshu.com/p/1dc7a917d502
參考鏈接:https://www.jb51.net/article/165188.htm
參考鏈接:https://blog.csdn.net/ct24750553/article/details/87735165
參考鏈接:https://www.cnblogs.com/bambipai/p/6770447.html
參考鏈接:https://www.cnblogs.com/mghhzAnne/p/10737315.html
一、代碼
from tkinter import *
import tkinter as tkinter
from PIL import Image, ImageTk
app = Tk()
sw = app.winfo_screenwidth()
sh = app.winfo_screenheight()
ww = 610
wh = 400
x = (sw-ww)/2
y = (sh-wh)/2