2023/8/26 update

This commit is contained in:
dengrb1 2023-08-26 11:07:31 +08:00 committed by GitHub
parent aa1b9a1182
commit 363200fdb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 8 deletions

View File

@ -33,9 +33,6 @@ def pyqt5():
def wxpython(): def wxpython():
os.system("pip install wxpython -i https://mirrors.aliyun.com/pypi/simple/") os.system("pip install wxpython -i https://mirrors.aliyun.com/pypi/simple/")
messagebox.showinfo(install, ok) messagebox.showinfo(install, ok)
def pygame():
os.system("pip install pygame -i https://mirrors.aliyun.com/pypi/simple/")
messagebox.showinfo(install, ok)
def Matplotlib(): def Matplotlib():
os.system('pip install Matplotlib -i https://mirrors.aliyun.com/pypi/simple/') os.system('pip install Matplotlib -i https://mirrors.aliyun.com/pypi/simple/')
messagebox.showinfo(install, ok) messagebox.showinfo(install, ok)
@ -54,13 +51,13 @@ def pyside6():
os.system('pip install pyside6 -i https://mirrors.aliyun.com/pypi/simple/') os.system('pip install pyside6 -i https://mirrors.aliyun.com/pypi/simple/')
messagebox.showinfo(install ,ok) messagebox.showinfo(install ,ok)
def flexx(): 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) messagebox.showinfo(install, ok)
# Button # Button
bt_fh = Button(frame, text='返回', command=fh)
bt_qt = Button(frame, text='pyqt5安装', command=pyqt5) 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_matplotlib = Button(frame, text='matplotlib安装', command=Matplotlib)
bt_seaborn = Button(frame, text='Seaborn安装', command=Seaborn) bt_seaborn = Button(frame, text='Seaborn安装', command=Seaborn)
bt_kivy = Button(frame, text='kivy安装', command=kivy) 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_flexx = Button(frame, text='flexx安装', command=flexx)
bt_pysimpleGUI = Button(frame, text='pysimpleGUI安装', command=pysimpleGUI) bt_pysimpleGUI = Button(frame, text='pysimpleGUI安装', command=pysimpleGUI)
bt_wx = Button(frame, text='wxpython安装', command=wxpython) bt_wx = Button(frame, text='wxpython安装', command=wxpython)
bt_fh = Button(frame, text='返回', command=fh)
# pack and Label # pack and Label
Label(root, text="GUI").pack() Label(root, text="GUI").pack()
@ -76,7 +73,6 @@ bt_fh.pack()
bt_qt.pack() bt_qt.pack()
bt_pyside.pack() bt_pyside.pack()
bt_kivy.pack() bt_kivy.pack()
bt_pygame.pack()
bt_matplotlib.pack() bt_matplotlib.pack()
bt_seaborn.pack() bt_seaborn.pack()
bt_flexx.pack() bt_flexx.pack()

View File

@ -61,6 +61,7 @@ def fh():
# Button # Button
bt_fh = Button(frame, text='返回', command=fh)
bt_n = Button(frame, text='Numpy删除', command=Numpy) bt_n = Button(frame, text='Numpy删除', command=Numpy)
bt_scipy = Button(frame, text='scipy删除', command=scipy) bt_scipy = Button(frame, text='scipy删除', command=scipy)
bt_sympy = Button(frame, text='sympy删除', command=sympy) 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_pyomo = Button(frame ,text='pyomo删除', command=pyomo)
bt_gpy = Button(frame , text='gpy删除', command=gpy) bt_gpy = Button(frame , text='gpy删除', command=gpy)
bt_pydy = Button(frame ,text='pydy删除', command=pydy) bt_pydy = Button(frame ,text='pydy删除', command=pydy)
bt_fh = Button(frame, text='返回', command=fh)
# pack and Label # pack and Label
Label(root, text='计算类删除') Label(root, text='计算类删除')