You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
462 B
19 lines
462 B
from tkinter import filedialog
|
|
import tkinter as tk
|
|
from sql import *
|
|
def upload_file_login():
|
|
|
|
new_window = tk.Tk()
|
|
new_window.title("欢迎来到上传界面")
|
|
new_window.geometry("600x200")
|
|
|
|
upload_file_button = tk.Button(new_window, text="上传图片", command=upload_image)
|
|
upload_file_button.pack()
|
|
|
|
back_button = tk.Button(new_window, text="返回", command=new_window.destroy)
|
|
back_button.pack()
|
|
|
|
new_window.mainloop()
|
|
|
|
|