pip helper

This commit is contained in:
dengrb1
2023-05-12 21:20:20 +08:00
committed by GitHub
parent 87f50a7cc1
commit 8555df53ec
2 changed files with 10 additions and 2 deletions

View File

@@ -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