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] 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='计算类删除')