pip helper

This commit is contained in:
dengrb1 2023-05-06 13:18:39 +08:00 committed by GitHub
parent 4fe5a716f1
commit 7b9bec13dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View File

@ -45,6 +45,8 @@ def numpy_remove():
os.system('pip uninstall numpy') os.system('pip uninstall numpy')
messagebox.showinfo(uninstall, ok2) messagebox.showinfo(uninstall, ok2)
pass pass
def fh():
root.destroy()
# 按钮 # 按钮
remove_GUI = Button(root, text='GUI类删除', command=GUI_delete).pack() remove_GUI = Button(root, text='GUI类删除', command=GUI_delete).pack()
remove_web = Button(root, text='web类删除', command=web_delete).pack() remove_web = Button(root, text='web类删除', command=web_delete).pack()
@ -52,7 +54,8 @@ remove_pyinstaller = Button(root, text='pyinstaller删除', command=pyinstaller_
remove_tqdm = Button(root, text='tqdm删除', command=tqdm_remove).pack() remove_tqdm = Button(root, text='tqdm删除', command=tqdm_remove).pack()
remove_nuitka = Button(root, text='nuitka删除', command=nuitka_remove).pack() remove_nuitka = Button(root, text='nuitka删除', command=nuitka_remove).pack()
remove_pywin32 = Button(root, text='pywin32删除', command=pywin32_remove).pack() remove_pywin32 = Button(root, text='pywin32删除', command=pywin32_remove).pack()
remove_numpy = Button(root ,text="numpy删除", command=numpy_remove) remove_numpy = Button(root ,text="numpy删除", command=numpy_remove).pack()
remove_fh = Button(root, text='返回', command=fh).pack()
# 初始化程序 # 初始化程序

View File

@ -42,6 +42,8 @@ def numpy():
os.system('pip install numpy') os.system('pip install numpy')
messagebox.showinfo(install_1, ok) messagebox.showinfo(install_1, ok)
pass pass
def fh():
root.destroy()
# 按钮 # 按钮
pip_gui = Button(root, text='GUI类安装', command=gui_install).pack() pip_gui = Button(root, text='GUI类安装', command=gui_install).pack()
pip_web = Button(root, text='web类安装', command=web_install).pack() pip_web = Button(root, text='web类安装', command=web_install).pack()
@ -49,7 +51,8 @@ pip_pyinstaller = Button(root, text='pyinstall安装', command=pyinstaller).pack
pip_tqdm = Button(root, text='tqdm安装', command=tqdm).pack() pip_tqdm = Button(root, text='tqdm安装', command=tqdm).pack()
pip_nuitka = Button(root, text='nuitka安装', command=nuitka).pack() pip_nuitka = Button(root, text='nuitka安装', command=nuitka).pack()
pip_pywin32 = Button(root, text='pywin32安装', command=pywin32).pack() pip_pywin32 = Button(root, text='pywin32安装', command=pywin32).pack()
pip_numpy = Button(root, text='numpy安装', command=numpy) pip_numpy = Button(root, text='numpy安装', command=numpy).pack()
pip_fh = Button(root,text='返回', command=fh).pack()
# 初始化程序 # 初始化程序