diff --git a/delete.pyw b/delete.pyw index d1fd339..7cb43c1 100644 --- a/delete.pyw +++ b/delete.pyw @@ -39,6 +39,8 @@ def web_delete(): pass def computer_delete(): open_exe('computer_delete') +def maths_delete(): + open_exe('maths_delete') def pyinstaller_remove(): os.system('pip uninstall pyinstaller') messagebox.showinfo('pip uninstall', ok2) @@ -64,15 +66,17 @@ def fh(): # Button +Label(root, text='删除模式') +remove_fh = Button(frame, text='返回', command=fh).pack() remove_GUI = Button(frame, text='GUI类删除', command=GUI_delete).pack() remove_web = Button(frame, text='web类删除', command=web_delete).pack() remove_computer = Button(frame, text='机器学习类删除', command=computer_delete).pack() +remove_maths = Button(frame, text='maths类删除', command=maths_delete).pack() remove_pyinstaller = Button(frame, text='pyinstaller删除', command=pyinstaller_remove).pack() remove_tqdm = Button(frame, text='tqdm删除', command=tqdm_remove).pack() remove_nuitka = Button(frame, text='nuitka删除', command=nuitka_remove).pack() remove_pywin32 = Button(frame, text='pywin32删除', command=pywin32_remove).pack() remove_numpy = Button(frame ,text="numpy删除", command=numpy_remove).pack() -remove_fh = Button(frame, text='返回', command=fh).pack() # pack diff --git a/install.pyw b/install.pyw index 9a9689c..0d0d651 100644 --- a/install.pyw +++ b/install.pyw @@ -41,6 +41,8 @@ def web_install(): open_exe('web_install') def computer_install(): open_exe('computer_install') +def maths_install(): + open_exe('maths_install') def pyinstaller(): os.system('pip install pyinstaller -i https://mirrors.aliyun.com/pypi/simple/') messagebox.showinfo('pip install', ok) @@ -64,6 +66,7 @@ def fh(): pip_gui = Button(frame, text='GUI类安装', command=gui_install) pip_web = Button(frame, text='web类安装', command=web_install) pip_computer = Button(frame, text='机器学习类库安装', command=computer_install) +pip_maths = Button(frame, text='maths类安装', command=maths_install) pip_pyinstaller = Button(frame, text='pyinstaller安装', command=pyinstaller) pip_tqdm = Button(frame, text='tqdm安装', command=tqdm) pip_nuitka = Button(frame, text='nuitka安装', command=nuitka) @@ -72,14 +75,15 @@ pip_fh = Button(frame,text='返回', command=fh) # pack and label Label(root, text='安装模式').pack() +pip_fh.pack() pip_gui.pack() pip_web.pack() pip_computer.pack() +pip_maths.pack() pip_pyinstaller.pack() pip_tqdm.pack() pip_nuitka.pack() pip_pywin32.pack() -pip_fh.pack() # mainloop