This commit is contained in:
dengrb1
2023-07-24 18:07:09 +08:00
committed by GitHub
parent 09b0d8d551
commit fd1decf0f9

View File

@@ -35,15 +35,15 @@ def open_exe(exe_name):
os.system(f"start {exe_name}.exe") os.system(f"start {exe_name}.exe")
else: else:
messagebox.showerror('system', file_error) messagebox.showerror('system', file_error)
def extkj(): def aiyunos():
open_exe("aiyunos") open_exe("aiyunos")
def wuguokai(): def wuguokai():
open_exe("wuguokai") open_exe("wuguokai")
def qdymys(): def chatkey():
open_exe("free2gpt") open_exe("chatkey")
def bnu120(): def bnu120():
open_exe('bnu120') open_exe('bnu120')
def xjai(): def free2gpt():
open_exe('free2gpt') open_exe('free2gpt')
def fh(): def fh():
root.destroy() root.destroy()
@@ -51,18 +51,18 @@ def fh():
# Button # Button
bt_wuguokai = Button(frame, text='wuguokai网站', command=wuguokai) bt_wuguokai = Button(frame, text='wuguokai网站', command=wuguokai)
bt_extkj = Button(frame, text='extkj网站', command=extkj) bt_aiyunos = Button(frame, text='aiyunos网站', command=aiyunos)
bt_qdymys = Button(frame, text='qdymys网站', command=qdymys) bt_chatkey = Button(frame, text='chatkey网站', command=chatkey)
bt_xjai = Button(frame, text='xjai网站', command=xjai) bt_free2gpt = Button(frame, text='free2gpt网站', command=free2gpt)
bt_bnu120 = Button(frame, text='bnu120网站', command=bnu120) bt_bnu120 = Button(frame, text='bnu120网站', command=bnu120)
bt_fh = Button(frame, text='返回', command=fh) bt_fh = Button(frame, text='返回', command=fh)
# pack and Label # pack and Label
Label(root, text='选择界面').pack() Label(root, text='选择界面').pack()
bt_wuguokai.pack() bt_wuguokai.pack()
bt_extkj.pack() bt_aiyunos.pack()
bt_xjai.pack() bt_free2gpt.pack()
bt_qdymys.pack() bt_chatkey.pack()
bt_bnu120.pack() bt_bnu120.pack()
bt_fh.pack() bt_fh.pack()