today update

This commit is contained in:
dengrb1
2023-07-25 23:59:27 +08:00
committed by GitHub
parent 994d4cc179
commit fa115b8b32
9 changed files with 57 additions and 7 deletions

View File

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