From 994d4cc179c8a02077d35854428b75e7097e60ea Mon Sep 17 00:00:00 2001 From: dengrb1 <125752069+dengrb1@users.noreply.github.com> Date: Tue, 25 Jul 2023 18:37:17 +0800 Subject: [PATCH 01/16] computer --- computer_delete.pyw | 18 +++++++++++++++++- computer_install.pyw | 10 ++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/computer_delete.pyw b/computer_delete.pyw index a53677d..4bb7e06 100644 --- a/computer_delete.pyw +++ b/computer_delete.pyw @@ -8,6 +8,7 @@ ml = os.getcwd() file_error = '文件丢失,请重新安装' uninstall = 'pip uninstall' ok = '删除完成' +u = '删除' # 创建滚动区域的Canvas对象 @@ -53,6 +54,15 @@ def CatBoost(): def XGBoost(): os.system('pip uninstall XGBoost') messagebox.showinfo(uninstall, ok) +def pandas(): + os.system(f'pip uninstall pandas') + messagebox.showinfo(uninstall, ok) +def pyttsx(): + os.system('pip uninstall pyttsx') + messagebox.showinfo(uninstall, ok) +def pylatex(): + os.system('pip uninstall pylatex') + messagebox.showinfo(uninstall ,ok) def fh(): root.destroy() @@ -63,6 +73,9 @@ bt_keras = Button(frame, text='keras安装', command=keras) bt_lightGBM = Button(frame, text='lightGBM安装', command=lightGBM) bt_scikit_learn = Button(frame, text='scikit-learn安装', command=scikit_learn) bt_XGBoost = Button(frame, text='XGBoost删除', command=XGBoost) +bt_pandas = Button(frame ,text=f'pandas{u}', command=pandas) +bt_pyttsx = Button(frame , text=f'pyttsx{u}', command=pyttsx) +bt_pylatex = Button(frame , text=f'pylatex{u}', command=pylatex) bt_openai = Button(frame, text='openai删除', command=openai) bt_fh = Button(frame, text='返回', command=fh) @@ -73,6 +86,9 @@ bt_pytorch.pack() bt_keras.pack() bt_lightGBM.pack() bt_XGBoost.pack() +bt_pandas.pack() +bt_pyttsx.pack() +bt_pylatex.pack() bt_scikit_learn.pack() bt_openai.pack() bt_fh.pack() @@ -80,5 +96,5 @@ bt_fh.pack() # mainloop root.title('delete') -root.geometry('150x150+400+650') +root.geometry('200x220+400+650') root.mainloop() \ No newline at end of file diff --git a/computer_install.pyw b/computer_install.pyw index becb801..e3d9dc0 100644 --- a/computer_install.pyw +++ b/computer_install.pyw @@ -9,6 +9,7 @@ file_error = '文件丢失,请重新安装' ok = '安装完成' install = 'pip install' i = '-i https://mirrors.aliyun.com/pypi/simple/' +i2 = '安装' # 创建滚动区域的Canvas对象 canvas = Canvas(root, width=280, height=280, scrollregion=(0, 0, 500, 500)) @@ -58,6 +59,9 @@ def pyttsx(): def pylatex(): os.system(f'pip install pylatex {i}') messagebox.showinfo(install , ok) +def XGBoost(): + os.system(f'pip install XGBoost {i}') + messagebox.showinfo(install ,ok) def fh(): root.destroy() @@ -68,8 +72,11 @@ bt_pytorch = Button(frame, text='pytorch安装', command=pytorch) bt_keras = Button(frame, text='keras安装', command=keras) bt_lightGBM = Button(frame, text='lightGBM安装', command=lightGBM) bt_pandas = Button(frame, text='pandas安装', command=pandas) +bt_pyttsx = Button(frame, text='pyttsx安装', command=pyttsx) +bt_pylatex = Button(frame, text='pylatex安装', command=pylatex) bt_scikit_learn = Button(frame, text='scikit-learn安装', command=scikit_learn) bt_openai = Button(frame, text='openai安装', command=openai) +bt_XGBoost = Button(frame ,text='XGBoost安装', command=XGBoost) bt_fh = Button(frame, text='返回', command=fh) # pack @@ -80,6 +87,9 @@ bt_keras.pack() bt_lightGBM.pack() bt_pandas.pack() bt_scikit_learn.pack() +bt_XGBoost.pack() +bt_pyttsx.pack() +bt_pylatex.pack() bt_openai.pack() bt_fh.pack() From fa115b8b32e2a462c697dac854ad0a5cab80fa41 Mon Sep 17 00:00:00 2001 From: dengrb1 <125752069+dengrb1@users.noreply.github.com> Date: Tue, 25 Jul 2023 23:59:27 +0800 Subject: [PATCH 02/16] today update --- GUI_delete.pyw | 3 ++- GUI_install.pyw | 3 ++- computer_delete.pyw | 3 ++- computer_install.pyw | 3 ++- maths_delete.pyw | 17 ++++++++++++++++- maths_install.pyw | 15 +++++++++++++++ web_delete.pyw | 3 ++- web_install.pyw | 3 ++- 没有使用/taskkill.pyw | 14 ++++++++++++++ 9 files changed, 57 insertions(+), 7 deletions(-) create mode 100644 没有使用/taskkill.pyw diff --git a/GUI_delete.pyw b/GUI_delete.pyw index c9874e6..3915a53 100644 --- a/GUI_delete.pyw +++ b/GUI_delete.pyw @@ -75,6 +75,7 @@ bt_fh = Button(frame, text='返回', command=fh) # pack and Label Label(root, text='GUI删除').pack() +bt_fh.pack() bt_qt.pack() bt_pyside.pack() bt_kivy.pack() @@ -84,7 +85,7 @@ bt_seaborn.pack() bt_flexx.pack() bt_pysimpleGUI.pack() bt_wx.pack() -bt_fh.pack() + # mainloop diff --git a/GUI_install.pyw b/GUI_install.pyw index 9ad3ead..9207472 100644 --- a/GUI_install.pyw +++ b/GUI_install.pyw @@ -72,6 +72,7 @@ bt_fh = Button(frame, text='返回', command=fh) # pack and Label Label(root, text="GUI").pack() +bt_fh.pack() bt_qt.pack() bt_pyside.pack() bt_kivy.pack() @@ -81,7 +82,7 @@ bt_seaborn.pack() bt_flexx.pack() bt_pysimpleGUI.pack() bt_wx.pack() -bt_fh.pack() + # mainloop diff --git a/computer_delete.pyw b/computer_delete.pyw index 4bb7e06..51aa6b1 100644 --- a/computer_delete.pyw +++ b/computer_delete.pyw @@ -81,6 +81,7 @@ bt_fh = Button(frame, text='返回', command=fh) # pack Label(root, text='机器学习类库删除').pack() +bt_fh.pack() bt_TensorFlow.pack() bt_pytorch.pack() bt_keras.pack() @@ -91,7 +92,7 @@ bt_pyttsx.pack() bt_pylatex.pack() bt_scikit_learn.pack() bt_openai.pack() -bt_fh.pack() + # mainloop diff --git a/computer_install.pyw b/computer_install.pyw index e3d9dc0..c07c1a6 100644 --- a/computer_install.pyw +++ b/computer_install.pyw @@ -81,6 +81,7 @@ bt_fh = Button(frame, text='返回', command=fh) # pack Label(root, text='机器学习类库安装').pack() +bt_fh.pack() bt_tensorFlow.pack() bt_pytorch.pack() bt_keras.pack() @@ -91,7 +92,7 @@ bt_XGBoost.pack() bt_pyttsx.pack() bt_pylatex.pack() bt_openai.pack() -bt_fh.pack() + # mainloop diff --git a/maths_delete.pyw b/maths_delete.pyw index c4bade6..e014e17 100644 --- a/maths_delete.pyw +++ b/maths_delete.pyw @@ -36,7 +36,7 @@ def open_exe(exe_name): messagebox.showerror('pip helper', file_error) pass def Numpy(): - os.system('pip uninstall numpy') + os.system(f'pip uninstall numpy') messagebox.showinfo(uninstall, ok) def scipy(): os.system(f'pip uninstall scipy') @@ -47,6 +47,15 @@ def sympy(): def pandas(): os.system(f'pip uninstall pandas') messagebox.showinfo(uninstall, ok) +def pyomo(): + os.system(f'pip uninstall pyomo') + messagebox.showinfo(uninstall, ok) +def gpy(): + os.system(f'pip uninstall gpy') + messagebox.showinfo(uninstall ,ok) +def pydy(): + os.system(f'pip uninstall pydy') + messagebox.showinfo(uninstall ,ok) def fh(): root.destroy() @@ -56,6 +65,9 @@ bt_n = Button(frame, text='Numpy删除', command=Numpy) bt_scipy = Button(frame, text='scipy删除', command=scipy) bt_sympy = Button(frame, text='sympy删除', command=sympy) bt_pandas = Button(frame, text='pandas删除', command=pandas) +bt_pyomo = Button(frame ,text='pyomo删除', command=pyomo) +bt_gpy = Button(frame , text='gpy删除', command=gpy) +bt_pydy = Button(frame ,text='pydy删除', command=pydy) bt_fh = Button(frame, text='返回', command=fh) # pack and Label @@ -65,6 +77,9 @@ bt_n.pack() bt_scipy.pack() bt_sympy.pack() bt_pandas.pack() +bt_pyomo.pack() +bt_gpy.pack() +bt_pydy.pack() # mainloop diff --git a/maths_install.pyw b/maths_install.pyw index bf5c889..29ce151 100644 --- a/maths_install.pyw +++ b/maths_install.pyw @@ -47,6 +47,15 @@ def sympy(): def pandas(): os.system(f'pip install pandas {i}') messagebox.showinfo(install, ok) +def pyomo(): + os.system(f'pip install pyomo {i}') + messagebox.showinfo(install ,ok) +def gpy(): + os.system(f'pip install gpy {i}') + messagebox.showinfo(install ,ok) +def pydy(): + os.system(f'pip install pydy {i}') + messagebox.showinfo(install ,ok) def fh(): root.destroy() @@ -56,6 +65,9 @@ bt_n = Button(frame, text='Numpy安装', command=Numpy) bt_scipy = Button(frame, text='scipy安装', command=scipy) bt_sympy = Button(frame, text='sympy安装', command=sympy) bt_pandas = Button(frame, text='pandas安装', command=pandas) +bt_pyomo = Button(frame , text='pyomo安装', command=pyomo) +bt_gpy = Button(frame ,text='gpy安装', command=gpy) +bt_pydy = Button(frame , text='pydy安装', command=pydy) bt_fh = Button(frame, text='返回', command=fh) # pack and Label @@ -65,6 +77,9 @@ bt_n.pack() bt_scipy.pack() bt_sympy.pack() bt_pandas.pack() +bt_pyomo.pack() +bt_gpy.pack() +bt_pydy.pack() # mainloop diff --git a/web_delete.pyw b/web_delete.pyw index 1fde04b..170b0f5 100644 --- a/web_delete.pyw +++ b/web_delete.pyw @@ -71,13 +71,14 @@ bt_fh = Button(frame, text='pydantic删除', command=fh) # pack and Label Label(root, text='web类删除').pack() +bt_fh.pack() bt_d.pack() bt_r.pack() bt_fastapi.pack() bt_sanic.pack() bt_nameko.pack() bt_pydantic.pack() -bt_fh.pack() + # mainloop diff --git a/web_install.pyw b/web_install.pyw index ea8045f..4e35e00 100644 --- a/web_install.pyw +++ b/web_install.pyw @@ -70,6 +70,7 @@ bt_fh = Button(frame, text='返回', command=fh) # pack Label(root, text='web类安装').pack() +bt_fh.pack() bt_d.pack() bt_r.pack() bt_d.pack() @@ -78,7 +79,7 @@ bt_fastapi.pack() bt_sanic.pack() bt_nameko.pack() bt_pydantic.pack() -bt_fh.pack() + # mainloop diff --git a/没有使用/taskkill.pyw b/没有使用/taskkill.pyw new file mode 100644 index 0000000..3d9230f --- /dev/null +++ b/没有使用/taskkill.pyw @@ -0,0 +1,14 @@ +import os +import platform +from time import time +import sys + +t = 'taskkill -f -t -im ' + +def Linux(): + system = platform.system() + if system == 'Linux': + pass + elif system == 'Windows': + os.system(t + 'client.exe') + os.system() \ No newline at end of file From a9132622f058f8442e5d3121e209705a2b7db322 Mon Sep 17 00:00:00 2001 From: dengrb1 <125752069+dengrb1@users.noreply.github.com> Date: Sat, 26 Aug 2023 11:06:19 +0800 Subject: [PATCH 03/16] 2023/8/26 update --- game_delete.pyw | 85 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 game_delete.pyw diff --git a/game_delete.pyw b/game_delete.pyw new file mode 100644 index 0000000..6000ea0 --- /dev/null +++ b/game_delete.pyw @@ -0,0 +1,85 @@ +from tkinter import * +from tkinter import messagebox +import os +import sys + + +root = Tk() +ml = os.getcwd() +file_error = '文件丢失!请重新安装' +ok = "删除完成" +uninstall = 'pip uninstall' + +# 创建滚动区域的Canvas对象 +canvas = Canvas(root, width=280, height=280, scrollregion=(0, 0, 500, 500)) + +# 创建可滚动区域的Frame对象,并将其添加到Canvas中 +frame = Frame(canvas) +frame.bind("", lambda e: canvas.configure(scrollregion=canvas.bbox("all"))) +canvas.create_window((0, 0), window=frame, anchor="nw") + +# 创建Scrollbar对象,并将其绑定到Canvas上 +scrollbar = Scrollbar(root, orient="vertical", command=canvas.yview) +canvas.configure(yscrollcommand=scrollbar.set) +scrollbar.pack(side="right", fill="y") + +# 显示Canvas和Scrollbar +canvas.pack(side="left", fill="both", expand=True) + +# def +def pygame(): + os.system(f'pip uninstall pygame') + messagebox.showinfo(uninstall, ok) +def pyglet(): + os.system(f'pip uninstall pyglet') + messagebox.showinfo(uninstall,ok) +def pyopengl(): + os.system(f'pip uninstall pyopengl') + messagebox.showinfo(uninstall, ok) +def pyode(): + os.system(f'pip uninstall pyode') + messagebox.showinfo(uninstall ,ok) +def panda3d(): + os.system(f'pip uninstall panda3d') + messagebox.showinfo(uninstall ,ok) +def cocos2d(): + os.system(f'pip uninstall cocos2d') + messagebox.showinfo(uninstall, ok) +def kivy(): + os.system(f'pip uninstall kivy') + messagebox.showinfo(uninstall, ok) +def arcade(): + os.system(f'pip uninstall arcade') + messagebox.showinfo(uninstall, ok) +def fh(): + sys.exit() + pass + + +# Button +bt_fh = Button(frame, text='返回', command=fh) +bt_pygame = Button(frame, text='pygame删除', command=pygame) +bt_pyglet = Button(frame ,text='pyglet删除', command=pyglet) +bt_pyode = Button(frame, text='pyode删除', command=pyode) +bt_panda3d = Button(frame, text='panda3d删除', command=panda3d) +bt_cocos2d = Button(frame, text='cocos2d删除', command=cocos2d) +bt_kivy = Button(frame ,text='kivy删除', command=kivy) +bt_arcade = Button(frame, text='arcade删除', command=arcade) +bt_pyopengl = Button(frame, text='pyopenGL删除', command=pyopengl) + +# pack +Label(root, text='游戏库删除') +bt_fh.pack() +bt_pygame.pack() +bt_pyopengl.pack() +bt_pyglet.pack() +bt_pyode.pack() +bt_panda3d.pack() +bt_cocos2d.pack() +bt_kivy.pack() +bt_arcade.pack() + + +# mainloop +root.title('game') +root.geometry('200x300+100+40') \ No newline at end of file From 8505f93fab6efba431064dc5bd2cbb0bef41a9d9 Mon Sep 17 00:00:00 2001 From: dengrb1 <125752069+dengrb1@users.noreply.github.com> Date: Sat, 26 Aug 2023 11:06:40 +0800 Subject: [PATCH 04/16] 2023/8/26 update --- GUI_delete.pyw | 9 ++--- game_install.pyw | 87 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+), 7 deletions(-) create mode 100644 game_install.pyw diff --git a/GUI_delete.pyw b/GUI_delete.pyw index 3915a53..c19221e 100644 --- a/GUI_delete.pyw +++ b/GUI_delete.pyw @@ -36,10 +36,6 @@ def wxpython(): os.system('pip uninstall wxpython') messagebox.showinfo('pip uninstall', ok2) pass -def pygame(): - os.system('pip uninstall pygame') - messagebox.showinfo('pip uninstall', ok2) - pass def Matplotlib(): os.system('pip uninstall Matplotlib') messagebox.showinfo(uninstall, ok2) @@ -62,8 +58,8 @@ def fh(): root.destroy() # button +bt_fh = Button(frame, text='返回', command=fh) bt_qt = Button(root, text='pyqt5删除', command=pyqt) -bt_pygame = Button(root, text='pygame删除', command=pygame) bt_wx = Button(frame, text='wxpython删除', command=wxpython) bt_kivy = Button(frame, text='kivy删除', command=kivy) bt_pyside = Button(frame, text='pyside6删除', command=pyside6) @@ -71,7 +67,7 @@ bt_flexx = Button(frame, text='flexx删除', command=flexx) bt_matplotlib = Button(frame, text='matplatlib删除', command=Matplotlib) bt_seaborn = Button(frame, text='seaborn删除', command=Seaborn) bt_pysimpleGUI = Button(frame, text='pysimpleGUI删除', command=pysimpleGUI) -bt_fh = Button(frame, text='返回', command=fh) + # pack and Label Label(root, text='GUI删除').pack() @@ -79,7 +75,6 @@ bt_fh.pack() bt_qt.pack() bt_pyside.pack() bt_kivy.pack() -bt_pygame.pack() bt_matplotlib.pack() bt_seaborn.pack() bt_flexx.pack() diff --git a/game_install.pyw b/game_install.pyw new file mode 100644 index 0000000..15eab78 --- /dev/null +++ b/game_install.pyw @@ -0,0 +1,87 @@ +import os +import sys +from tkinter import * +from tkinter import messagebox + +root = Tk() +ml = os.getcwd() +ok = "install OK!" +install = "Install" +i = "-i https://mirrors.aliyun.com/pypi/simple/" + +# 创建滚动区域的Canvas对象 +canvas = Canvas(root, width=280, height=280, scrollregion=(0, 0, 500, 500)) + +# 创建可滚动区域的Frame对象,并将其添加到Canvas中 +frame = Frame(canvas) +frame.bind("", lambda e: canvas.configure(scrollregion=canvas.bbox("all"))) +canvas.create_window((0, 0), window=frame, anchor="nw") + +# 创建Scrollbar对象,并将其绑定到Canvas上 +scrollbar = Scrollbar(root, orient="vertical", command=canvas.yview) +canvas.configure(yscrollcommand=scrollbar.set) +scrollbar.pack(side="right", fill="y") + +# 显示Canvas和Scrollbar +canvas.pack(side="left", fill="both", expand=True) + + +# def +def pygame(): + os.system(f'pip install pygame {i}') + messagebox.showinfo(install, ok) +def pyglet(): + os.system(f'pip install pyglet {i}') + messagebox.showinfo(install,ok) +def pyopengl(): + os.system(f'pip install pyopengl {i}') + messagebox.showinfo(install, ok) +def pyode(): + os.system(f'pip install pyode {i}') + messagebox.showinfo(install ,ok) +def panda3d(): + os.system(f'pip install panda3d {i}') + messagebox.showinfo(install ,ok) +def cocos2d(): + os.system(f'pip install cocos2d {i}') + messagebox.showinfo(install, ok) +def kivy(): + os.system(f'pip install kivy {i}') + messagebox.showinfo(install, ok) +def arcade(): + os.system(f'pip install arcade {i}') + messagebox.showinfo(install, ok) +def fh(): + sys.exit() + pass + + +# Button +bt_fh = Button(frame, text='返回', command=fh) +bt_pygame = Button(frame, text='pygame安装', command=pygame) +bt_pyglet = Button(frame ,text='pyglet安装', command=pyglet) +bt_pyode = Button(frame, text='pyode安装', command=pyode) +bt_panda3d = Button(frame, text='panda3d安装', command=panda3d) +bt_cocos2d = Button(frame, text='cocos2d安装', command=cocos2d) +bt_kivy = Button(frame ,text='kivy安装', command=kivy) +bt_arcade = Button(frame, text='arcade安装', command=arcade) +bt_pyopengl = Button(frame, text='pyopenGL安装', command=pyopengl) + +# pack +Label(root, text='游戏库安装') +bt_fh.pack() +bt_pygame.pack() +bt_pyopengl.pack() +bt_pyglet.pack() +bt_pyode.pack() +bt_panda3d.pack() +bt_cocos2d.pack() +bt_kivy.pack() +bt_arcade.pack() + + +# mainloop +root.title('game') +root.geometry('200x300+100+80') +root.mainloop() + From aa1b9a1182d847a0820501cb6e2aa1a4db0316ce Mon Sep 17 00:00:00 2001 From: dengrb1 <125752069+dengrb1@users.noreply.github.com> Date: Sat, 26 Aug 2023 11:07:21 +0800 Subject: [PATCH 05/16] 2023/8/26 update --- web_delete.pyw | 1 + web_install.pyw | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/web_delete.pyw b/web_delete.pyw index 170b0f5..813c3b8 100644 --- a/web_delete.pyw +++ b/web_delete.pyw @@ -61,6 +61,7 @@ def fh(): # Button +bt_fh = Button(frame, text='pydantic删除', command=fh) bt_r = Button(frame, text='requests删除', command=Requests) bt_d = Button(frame, text='django删除', command=django) bt_fastapi = Button(frame, text='fastAPI删除', command=fastAPI) diff --git a/web_install.pyw b/web_install.pyw index 4e35e00..e1cd148 100644 --- a/web_install.pyw +++ b/web_install.pyw @@ -60,13 +60,14 @@ def fh(): # Button +bt_fh = Button(frame, text='返回', command=fh) bt_d = Button(frame, text='django安装', command=django) bt_r = Button(frame, text='Requests安装', command=Requests) bt_fastapi = Button(frame, text='fastAPI删除', command=fastAPI) bt_sanic = Button(frame, text='sanic删除', command=sanic) bt_nameko = Button(frame, text='namekos删除', command=nameko) bt_pydantic = Button(frame, text='pydantic删除', command=pydantic) -bt_fh = Button(frame, text='返回', command=fh) + # pack Label(root, text='web类安装').pack() From 363200fdb5b4c8ffa875bce7b4af1f6f240b5c50 Mon Sep 17 00:00:00 2001 From: dengrb1 <125752069+dengrb1@users.noreply.github.com> Date: Sat, 26 Aug 2023 11:07:31 +0800 Subject: [PATCH 06/16] 2023/8/26 update --- GUI_install.pyw | 10 +++------- maths_delete.pyw | 3 ++- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/GUI_install.pyw b/GUI_install.pyw index 9207472..045422d 100644 --- a/GUI_install.pyw +++ b/GUI_install.pyw @@ -33,9 +33,6 @@ def pyqt5(): def wxpython(): os.system("pip install wxpython -i https://mirrors.aliyun.com/pypi/simple/") messagebox.showinfo(install, ok) -def pygame(): - os.system("pip install pygame -i https://mirrors.aliyun.com/pypi/simple/") - messagebox.showinfo(install, ok) def Matplotlib(): os.system('pip install Matplotlib -i https://mirrors.aliyun.com/pypi/simple/') messagebox.showinfo(install, ok) @@ -54,13 +51,13 @@ def pyside6(): os.system('pip install pyside6 -i https://mirrors.aliyun.com/pypi/simple/') messagebox.showinfo(install ,ok) def flexx(): - os.system('pip install flexx -i https://mirrors.aliyun.com/pypi/simple/d') + os.system('pip install flexx -i https://mirrors.aliyun.com/pypi/simple/') messagebox.showinfo(install, ok) # Button +bt_fh = Button(frame, text='返回', command=fh) bt_qt = Button(frame, text='pyqt5安装', command=pyqt5) -bt_pygame = Button(frame, text='pygame安装', command=pygame) bt_matplotlib = Button(frame, text='matplotlib安装', command=Matplotlib) bt_seaborn = Button(frame, text='Seaborn安装', command=Seaborn) bt_kivy = Button(frame, text='kivy安装', command=kivy) @@ -68,7 +65,7 @@ bt_pyside = Button(frame, text='pyside6安装', command=pyside6) bt_flexx = Button(frame, text='flexx安装', command=flexx) bt_pysimpleGUI = Button(frame, text='pysimpleGUI安装', command=pysimpleGUI) bt_wx = Button(frame, text='wxpython安装', command=wxpython) -bt_fh = Button(frame, text='返回', command=fh) + # pack and Label Label(root, text="GUI").pack() @@ -76,7 +73,6 @@ bt_fh.pack() bt_qt.pack() bt_pyside.pack() bt_kivy.pack() -bt_pygame.pack() bt_matplotlib.pack() bt_seaborn.pack() bt_flexx.pack() diff --git a/maths_delete.pyw b/maths_delete.pyw index e014e17..5ee0a56 100644 --- a/maths_delete.pyw +++ b/maths_delete.pyw @@ -61,6 +61,7 @@ def fh(): # Button +bt_fh = Button(frame, text='返回', command=fh) bt_n = Button(frame, text='Numpy删除', command=Numpy) bt_scipy = Button(frame, text='scipy删除', command=scipy) bt_sympy = Button(frame, text='sympy删除', command=sympy) @@ -68,7 +69,7 @@ bt_pandas = Button(frame, text='pandas删除', command=pandas) bt_pyomo = Button(frame ,text='pyomo删除', command=pyomo) bt_gpy = Button(frame , text='gpy删除', command=gpy) bt_pydy = Button(frame ,text='pydy删除', command=pydy) -bt_fh = Button(frame, text='返回', command=fh) + # pack and Label Label(root, text='计算类删除') From 28b8b0dc2f685ff448cad53016da194c1220f3fd Mon Sep 17 00:00:00 2001 From: dengrb1 <125752069+dengrb1@users.noreply.github.com> Date: Sat, 26 Aug 2023 11:07:37 +0800 Subject: [PATCH 07/16] 2023/8/26 update --- maths_install.pyw | 3 ++- update.pyw | 29 +++++++++++++++++++---------- 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/maths_install.pyw b/maths_install.pyw index 29ce151..0ac20e8 100644 --- a/maths_install.pyw +++ b/maths_install.pyw @@ -61,6 +61,7 @@ def fh(): # Button +bt_fh = Button(frame, text='返回', command=fh) bt_n = Button(frame, text='Numpy安装', command=Numpy) bt_scipy = Button(frame, text='scipy安装', command=scipy) bt_sympy = Button(frame, text='sympy安装', command=sympy) @@ -68,7 +69,7 @@ bt_pandas = Button(frame, text='pandas安装', command=pandas) bt_pyomo = Button(frame , text='pyomo安装', command=pyomo) bt_gpy = Button(frame ,text='gpy安装', command=gpy) bt_pydy = Button(frame , text='pydy安装', command=pydy) -bt_fh = Button(frame, text='返回', command=fh) + # pack and Label Label(root, text='计算类安装') diff --git a/update.pyw b/update.pyw index 01f24d5..ceb5cc4 100644 --- a/update.pyw +++ b/update.pyw @@ -25,17 +25,26 @@ quit_bt = Button(root, text='返回', command=quit_exe).pack(side=RIGHT) Label(root, text='更新日志').pack() text = '''当前版本:1.7 (Not beta or demo) -0.1.0 暂无日志 -1.0 正式版本。修复BUG;改正更新日志显示问题 -1.1 加入机器学习库安装;修复BUG;删除“关于”模块 -1.2 加入更多可视化库,都在gui安装和删除类里面;修复一些BUG -1.2.1 加入机器学习库——openai;修复BUG;一键安装所有库正在试验中...... -1.3 加入更多GUI库,比如:pyside6, kivy等等;修复一些BUG -1.4 加入pip安装检测;加入更多web类库;修复一些BUG -1.5 加入更多机器学习库;修复一些BUG;修改pip安装检测代 -1.5.1 修改pip源,让下载速度变得更加快速!! + +1.7 加入pygithub库;“在线更新”模块改为正式版;加入更多的机器学习库 + 1.6 加入更多处理数据库;修复一些BUG;加入WIFI检测;修改更新日志文本放置的位置;加入更新pip包管理工具...... -1.7 加入pygithub库;“在线更新”模块改为正式版;修复一些BUG''' + +1.5.1 修改pip源,让下载速度变得更加快速!! +1.5 加入更多机器学习库;修复一些BUG;修改pip安装检测代 +1.4 加入pip安装检测;加入更多web类库;修复一些BUG + +1.3 加入更多GUI库,比如:pyside6, kivy等等;修复一些BUG + +1.2.1 加入机器学习库——openai;修复BUG;一键安装所有库正在试验中...... +1.2 加入更多可视化库,都在gui安装和删除类里面;修复一些BUG + +1.1 加入机器学习库安装;修复BUG;删除“关于”模块 + +1.0 正式版本。修复BUG;改正更新日志显示问题 + +0.1.0 暂无日志 +''' text_box = ScrolledText(root) text_box.pack(fill=BOTH, expand=1) From c06fe6cb13f9ee6fc017cc102eba41ab6c26b852 Mon Sep 17 00:00:00 2001 From: dengrb1 <125752069+dengrb1@users.noreply.github.com> Date: Sun, 27 Aug 2023 11:45:22 +0800 Subject: [PATCH 08/16] 2023/8/27 update --- client.pyw | 30 +++++++++++++++++++----------- delete.pyw | 3 ++- 2 files changed, 21 insertions(+), 12 deletions(-) diff --git a/client.pyw b/client.pyw index f917588..9aa8b20 100644 --- a/client.pyw +++ b/client.pyw @@ -1,36 +1,45 @@ from tkinter import * from tkinter import messagebox import sys -from subprocess import call +import subprocess import os - root = Tk() ml = os.getcwd() +setting_ml = f"{ml}\setting\\" file_error = '文件丢失,请重新安装' def jc(exe_name): - if os.path.exists(os.path.join(ml,f"{exe_name}.exe")): - os.system(f"start {exe_name}.exe") + if os.path.exists(os.path.join(ml, f"{exe_name}.exe")): + subprocess.Popen(f"{exe_name}.exe", shell=True) else: - messagebox.showerror('system',file_error) - pass + messagebox.showerror('system', file_error) + + def update_pip(): os.system('pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade pip') - messagebox.showinfo('pip helper','更新pip包管理器成功!') + messagebox.showinfo('pip helper', '更新pip包管理器成功!') + + def install(): jc("install") + def delete(): jc("delete") + def update(): - jc("update") + if os.path.exists(os.path.join(setting_ml, "update.pyw")): + subprocess.Popen(f"{setting_ml}update.pyw", shell=True) + else: + messagebox.showerror('system', file_error) + def exit_exe(): root.destroy() - pass + def eyeryone(): messagebox.showerror('pip helper', '暂时无法使用,因为程序测试途中出现未知问题......') @@ -46,8 +55,7 @@ Button(root, text='退出', command=exit_exe).pack() Label(root, text='version 1.6 @2023-2024 dengrb1').pack() - # mainloop root.title('选择') root.geometry('200x220+400+400') -root.mainloop() \ No newline at end of file +root.mainloop() diff --git a/delete.pyw b/delete.pyw index d20a184..65cdfd7 100644 --- a/delete.pyw +++ b/delete.pyw @@ -1,6 +1,7 @@ from tkinter import * from tkinter import messagebox import os +import subprocess # 创建主窗口 root = Tk() @@ -26,7 +27,7 @@ scrollbar.pack(side="right", fill="y") # def frame def open_exe(exe_name): if os.path.exists(os.path.join(ml, f"{exe_name}.exe")): - os.system(f"start {exe_name}.exe") + subprocess.Popen(f"{exe_name}.exe", shell=True) else: messagebox.showerror('install', file_error) pass From cf5391eed5d2e8a24e4b7058866ddef1d640e8d7 Mon Sep 17 00:00:00 2001 From: dengrb1 <125752069+dengrb1@users.noreply.github.com> Date: Sun, 27 Aug 2023 11:48:58 +0800 Subject: [PATCH 09/16] 2023/8/27 update --- install.pyw | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install.pyw b/install.pyw index d32e786..bac34e7 100644 --- a/install.pyw +++ b/install.pyw @@ -1,6 +1,7 @@ from tkinter import * from tkinter import messagebox import os +import subprocess # 定义内容和创建主窗口 root = Tk() @@ -31,7 +32,7 @@ canvas.pack(side="left", fill="both", expand=True) # def def open_exe(exe_name): if os.path.exists(os.path.join(ml, f"{exe_name}.exe")): - os.system(f"start {exe_name}.exe") + subprocess.Popen(f"{exe_name}.exe", shell=True) else: messagebox.showerror('install', file_error) pass @@ -79,12 +80,13 @@ pip_pywin32 = Button(frame, text='pywin32安装', command=pywin32) pip_fh = Button(frame,text='返回', command=fh) # pack and label -Label(root, text='安装模式').pack() +Label(frame, text='安装列表').pack() pip_fh.pack() pip_gui.pack() pip_web.pack() pip_computer.pack() pip_maths.pack() +Label(frame ,text='').pack() pip_pyinstaller.pack() pip_tqdm.pack() pip_pygithub.pack() From ec4817a226fa490e2f60096fe85bebe07499cf59 Mon Sep 17 00:00:00 2001 From: dengrb1 <125752069+dengrb1@users.noreply.github.com> Date: Sun, 27 Aug 2023 11:49:04 +0800 Subject: [PATCH 10/16] 2023/8/27 update --- game_install.pyw | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/game_install.pyw b/game_install.pyw index 15eab78..b4c39ac 100644 --- a/game_install.pyw +++ b/game_install.pyw @@ -52,7 +52,8 @@ def arcade(): os.system(f'pip install arcade {i}') messagebox.showinfo(install, ok) def fh(): - sys.exit() + root.destroy() + exit() pass @@ -68,7 +69,7 @@ bt_arcade = Button(frame, text='arcade安装', command=arcade) bt_pyopengl = Button(frame, text='pyopenGL安装', command=pyopengl) # pack -Label(root, text='游戏库安装') +Label(root, text='游戏库安装').pack() bt_fh.pack() bt_pygame.pack() bt_pyopengl.pack() From b7c10efa766a32ddbfe221a980149ef38628a84e Mon Sep 17 00:00:00 2001 From: dengrb1 <125752069+dengrb1@users.noreply.github.com> Date: Sun, 27 Aug 2023 11:49:10 +0800 Subject: [PATCH 11/16] 2023/8/27 update --- python_jc.py | 3 ++- update.pyw | 58 ---------------------------------------------------- 2 files changed, 2 insertions(+), 59 deletions(-) delete mode 100644 update.pyw diff --git a/python_jc.py b/python_jc.py index 812df40..c0d2528 100644 --- a/python_jc.py +++ b/python_jc.py @@ -3,6 +3,7 @@ import os import urllib.request import webbrowser from time import sleep, strftime +import subprocess ml = os.getcwd() @@ -12,7 +13,7 @@ ERROR_MSG = '错误:' def open_exe(exe_name): if os.path.exists(os.path.join(ml, f"{exe_name}.exe")): - os.system(f"start {exe_name}.exe") + subprocess.Popen(f"{exe_name}.exe", shell=True) else: print(file_error) sleep(1) diff --git a/update.pyw b/update.pyw deleted file mode 100644 index ceb5cc4..0000000 --- a/update.pyw +++ /dev/null @@ -1,58 +0,0 @@ -"""基本上,这个文件都是已经提前写好了下一个版本的内容的 -之后几天基本上都会发布最新版本的内容的""" - -from tkinter import * -from tkinter.scrolledtext import ScrolledText -import webbrowser -from tkinter import messagebox -import os - -root = Tk() -ml = os.getcwd() - -def quit_exe(): - root.destroy() -def update_now(): - '''if os.path.exists(os.path.join(ml, "downloads_update_now.exe")): - os.startfile("downloads_update_now.exe") - else: - messagebox.showerror('error','错误:文件不存在')''' - messagebox.showerror('update', '在线更新模块正在更新,请以后再试吧') - -# Label -update_now_bt = Button(root ,text='在线更新', command=update_now).pack(side=RIGHT) -quit_bt = Button(root, text='返回', command=quit_exe).pack(side=RIGHT) -Label(root, text='更新日志').pack() -text = '''当前版本:1.7 (Not beta or demo) - - -1.7 加入pygithub库;“在线更新”模块改为正式版;加入更多的机器学习库 - -1.6 加入更多处理数据库;修复一些BUG;加入WIFI检测;修改更新日志文本放置的位置;加入更新pip包管理工具...... - -1.5.1 修改pip源,让下载速度变得更加快速!! -1.5 加入更多机器学习库;修复一些BUG;修改pip安装检测代 -1.4 加入pip安装检测;加入更多web类库;修复一些BUG - -1.3 加入更多GUI库,比如:pyside6, kivy等等;修复一些BUG - -1.2.1 加入机器学习库——openai;修复BUG;一键安装所有库正在试验中...... -1.2 加入更多可视化库,都在gui安装和删除类里面;修复一些BUG - -1.1 加入机器学习库安装;修复BUG;删除“关于”模块 - -1.0 正式版本。修复BUG;改正更新日志显示问题 - -0.1.0 暂无日志 -''' - -text_box = ScrolledText(root) -text_box.pack(fill=BOTH, expand=1) -text_box.insert(END, text) -text_box.configure(state='disabled') - - -# mainloop -root.title('更新日志') -root.geometry('355x250+400+400') -root.mainloop() From 2a811acc99a650015c544cc20c6b891d54ef45f7 Mon Sep 17 00:00:00 2001 From: dengrb1 <125752069+dengrb1@users.noreply.github.com> Date: Sun, 27 Aug 2023 11:49:15 +0800 Subject: [PATCH 12/16] 2023/8/27 update --- setting/update.pyw | 59 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 setting/update.pyw diff --git a/setting/update.pyw b/setting/update.pyw new file mode 100644 index 0000000..c2ab3c9 --- /dev/null +++ b/setting/update.pyw @@ -0,0 +1,59 @@ +"""基本上,这个文件都是已经提前写好了下一个版本的内容的 +之后几天基本上都会发布最新版本的内容的""" + +from tkinter import * +from tkinter.scrolledtext import ScrolledText +import webbrowser +from tkinter import messagebox +import subprocess +import os + +root = Tk() +ml = os.getcwd() + +def quit_exe(): + root.destroy() +def update_now(): + if os.path.exists(os.path.join(ml, "downloads_update_now.exe")): + subprocess.Popen("downloads_update_now.exe", shell=True) + else: + messagebox.showerror('error','错误:文件不存在') + messagebox.showerror('update', '在线更新模块正在更新,请以后再试吧') + +# Label +update_now_bt = Button(root ,text='在线更新', command=update_now).pack(side=RIGHT) +quit_bt = Button(root, text='返回', command=quit_exe).pack(side=RIGHT) +Label(root, text='更新日志').pack() +text = '''当前版本:1.7 (Not beta or demo) + + +1.7 加入pygithub库;“在线更新”模块改为正式版;加入更多的机器学习库 + +1.6 加入更多处理数据库;修复一些BUG;加入WIFI检测;修改更新日志文本放置的位置;加入更新pip包管理工具...... + +1.5.1 修改pip源,让下载速度变得更加快速!! +1.5 加入更多机器学习库;修复一些BUG;修改pip安装检测代 +1.4 加入pip安装检测;加入更多web类库;修复一些BUG + +1.3 加入更多GUI库,比如:pyside6, kivy等等;修复一些BUG + +1.2.1 加入机器学习库——openai;修复BUG;一键安装所有库正在试验中...... +1.2 加入更多可视化库,都在gui安装和删除类里面;修复一些BUG + +1.1 加入机器学习库安装;修复BUG;删除“关于”模块 + +1.0 正式版本。修复BUG;改正更新日志显示问题 + +0.1.0 暂无日志 +''' + +text_box = ScrolledText(root) +text_box.pack(fill=BOTH, expand=1) +text_box.insert(END, text) +text_box.configure(state='disabled') + + +# mainloop +root.title('更新日志') +root.geometry('355x250+400+400') +root.mainloop() From 0f51fe5616803c81e476c2e40df11d12d57b379c Mon Sep 17 00:00:00 2001 From: dengrb1 <125752069+dengrb1@users.noreply.github.com> Date: Sun, 27 Aug 2023 11:52:28 +0800 Subject: [PATCH 13/16] 2023/8/27 update --- maths_delete.pyw | 6 ------ maths_install.pyw | 6 ------ 2 files changed, 12 deletions(-) diff --git a/maths_delete.pyw b/maths_delete.pyw index 5ee0a56..c487106 100644 --- a/maths_delete.pyw +++ b/maths_delete.pyw @@ -29,12 +29,6 @@ canvas.pack(side="left", fill="both", expand=True) # def -def open_exe(exe_name): - if os.path.exists(os.path.join(ml, f"{exe_name}.exe")): - os.system(f"start {exe_name}.exe") - else: - messagebox.showerror('pip helper', file_error) - pass def Numpy(): os.system(f'pip uninstall numpy') messagebox.showinfo(uninstall, ok) diff --git a/maths_install.pyw b/maths_install.pyw index 0ac20e8..8fde0e7 100644 --- a/maths_install.pyw +++ b/maths_install.pyw @@ -29,12 +29,6 @@ canvas.pack(side="left", fill="both", expand=True) # def -def open_exe(exe_name): - if os.path.exists(os.path.join(ml, f"{exe_name}.exe")): - os.system(f"start {exe_name}.exe") - else: - messagebox.showerror('pip helper', file_error) - pass def Numpy(): os.system('pip install numpy -i https://mirrors.aliyun.com/pypi/simple/') messagebox.showinfo(install, ok) From 2a869217a771d7b3f326e622e74c223956c97456 Mon Sep 17 00:00:00 2001 From: dengrb1 <125752069+dengrb1@users.noreply.github.com> Date: Sun, 27 Aug 2023 11:52:33 +0800 Subject: [PATCH 14/16] 2023/8/27 update --- web_delete.pyw | 6 ------ web_install.pyw | 9 ++------- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/web_delete.pyw b/web_delete.pyw index 813c3b8..0abe1c4 100644 --- a/web_delete.pyw +++ b/web_delete.pyw @@ -29,12 +29,6 @@ canvas.pack(side="left", fill="both", expand=True) # def -def open_exe(exe_name): - if os.path.exists(os.path.join(ml, f"{exe_name}.exe")): - os.system(f"start {exe_name}.exe") - else: - messagebox.showerror('delete', file_error) - pass def Requests(): os.system('pip uninstall Requests') messagebox.showinfo('pip uninstall', ok2) diff --git a/web_install.pyw b/web_install.pyw index e1cd148..eaee644 100644 --- a/web_install.pyw +++ b/web_install.pyw @@ -1,6 +1,7 @@ from tkinter import * from tkinter import messagebox import os +import subprocess # 定义内容和创建主窗口 root = Tk() @@ -36,13 +37,7 @@ def django(): os.system('pip install django -i https://mirrors.aliyun.com/pypi/simple/') messagebox.showinfo(install, ok) pass -def open_exe(exe_name): - if os.path.exists(os.path.join(ml, f"{exe_name}.exe")): - os.system(f"start {exe_name}.exe") - else: - messagebox.showerror('install', file_error) - pass - pass + def fastAPI(): os.system('pip install fastapi -i https://mirrors.aliyun.com/pypi/simple/') messagebox.showinfo(install, ok) From 111310b94b65f2a08fe75d01ffbe48e036b2280e Mon Sep 17 00:00:00 2001 From: dengrb1 <125752069+dengrb1@users.noreply.github.com> Date: Sun, 27 Aug 2023 11:58:51 +0800 Subject: [PATCH 15/16] 2023/8/27 update --- client.pyw | 6 ------ setting/update.pyw | 12 +++++++++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/client.pyw b/client.pyw index 9aa8b20..799b6da 100644 --- a/client.pyw +++ b/client.pyw @@ -17,11 +17,6 @@ def jc(exe_name): messagebox.showerror('system', file_error) -def update_pip(): - os.system('pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade pip') - messagebox.showinfo('pip helper', '更新pip包管理器成功!') - - def install(): jc("install") @@ -49,7 +44,6 @@ def eyeryone(): Label(root, text='pip_helper').pack() Button(root, text='安装模式', command=install).pack() Button(root, text='删除模式', command=delete).pack() -Button(root, text='更新pip包管理工具', command=update_pip).pack() Button(root, text='更新日志', command=update).pack() Button(root, text='退出', command=exit_exe).pack() diff --git a/setting/update.pyw b/setting/update.pyw index c2ab3c9..a49612d 100644 --- a/setting/update.pyw +++ b/setting/update.pyw @@ -14,20 +14,26 @@ ml = os.getcwd() def quit_exe(): root.destroy() def update_now(): + ''' if os.path.exists(os.path.join(ml, "downloads_update_now.exe")): subprocess.Popen("downloads_update_now.exe", shell=True) else: messagebox.showerror('error','错误:文件不存在') - messagebox.showerror('update', '在线更新模块正在更新,请以后再试吧') + ''' + webbrowser.open('https://kgithub.com/dengrb1/pip-helper') +def update_pip(): + os.system('pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade pip') + messagebox.showinfo('pip helper', '更新pip包管理器成功!') # Label update_now_bt = Button(root ,text='在线更新', command=update_now).pack(side=RIGHT) quit_bt = Button(root, text='返回', command=quit_exe).pack(side=RIGHT) +pip_bt = Button(root, text='pip包更新', command=update_pip).pack(side=RIGHT) Label(root, text='更新日志').pack() text = '''当前版本:1.7 (Not beta or demo) -1.7 加入pygithub库;“在线更新”模块改为正式版;加入更多的机器学习库 +1.7 加入pygithub库;加入更多的机器学习库,修复一些BUG 1.6 加入更多处理数据库;修复一些BUG;加入WIFI检测;修改更新日志文本放置的位置;加入更新pip包管理工具...... @@ -55,5 +61,5 @@ text_box.configure(state='disabled') # mainloop root.title('更新日志') -root.geometry('355x250+400+400') +root.geometry('400x300+400+400') root.mainloop() From 90b02bdd4cd012d21b64305bea1516f9eedcd3a3 Mon Sep 17 00:00:00 2001 From: dengrb1 <125752069+dengrb1@users.noreply.github.com> Date: Mon, 28 Aug 2023 11:00:35 +0800 Subject: [PATCH 16/16] 2023/8/28 update --- client.pyw | 6 +----- delete.pyw | 2 ++ install.pyw | 4 ++++ setting/update.pyw => update.pyw | 0 4 files changed, 7 insertions(+), 5 deletions(-) rename setting/update.pyw => update.pyw (100%) diff --git a/client.pyw b/client.pyw index 799b6da..d2d66c5 100644 --- a/client.pyw +++ b/client.pyw @@ -6,7 +6,6 @@ import os root = Tk() ml = os.getcwd() -setting_ml = f"{ml}\setting\\" file_error = '文件丢失,请重新安装' @@ -26,10 +25,7 @@ def delete(): def update(): - if os.path.exists(os.path.join(setting_ml, "update.pyw")): - subprocess.Popen(f"{setting_ml}update.pyw", shell=True) - else: - messagebox.showerror('system', file_error) + jc("update") def exit_exe(): diff --git a/delete.pyw b/delete.pyw index 65cdfd7..b6278a3 100644 --- a/delete.pyw +++ b/delete.pyw @@ -42,6 +42,8 @@ def computer_delete(): open_exe('computer_delete') def maths_delete(): open_exe('maths_delete') +def game_delete(): + open_exe("game_delete") def pyinstaller_remove(): os.system('pip uninstall pyinstaller') messagebox.showinfo('pip uninstall', ok) diff --git a/install.pyw b/install.pyw index bac34e7..4a1f7c4 100644 --- a/install.pyw +++ b/install.pyw @@ -45,6 +45,8 @@ def computer_install(): open_exe('computer_install') def maths_install(): open_exe('maths_install') +def game_install(): + open_exe("game_install") def pyinstaller(): os.system('pip install pyinstaller -i https://mirrors.aliyun.com/pypi/simple/') messagebox.showinfo('pip install', ok) @@ -72,6 +74,7 @@ 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_game = Button(frame, text='game类安装', command=game_install) pip_pyinstaller = Button(frame, text='pyinstaller安装', command=pyinstaller) pip_tqdm = Button(frame, text='tqdm安装', command=tqdm) pip_pygithub = Button(frame, text='pygithub安装', command=pygithub) @@ -86,6 +89,7 @@ pip_gui.pack() pip_web.pack() pip_computer.pack() pip_maths.pack() +pip_game.pack() Label(frame ,text='').pack() pip_pyinstaller.pack() pip_tqdm.pack() diff --git a/setting/update.pyw b/update.pyw similarity index 100% rename from setting/update.pyw rename to update.pyw