pip helper

This commit is contained in:
dengrb1
2023-05-06 13:23:18 +08:00
committed by GitHub
parent 7b9bec13dc
commit 555f02de10
2 changed files with 8 additions and 0 deletions

View File

@@ -18,18 +18,22 @@ def wxpython():
def pygame():
os.system("pip install pygame")
messagebox.showinfo(install, ok)
def fh():
root.destroy()
# Button
bt_qt = Button(root, text='pyqt5安装', command=pyqt5)
bt_pygame = Button(root, text='pygame安装', command=pygame)
bt_wx = Button(root, text='wxpython安装', command=wxpython)
bt_fh = Button(root, text='返回', command=fh)
# pack and Label
Label(root, text="GUI install").pack()
bt_qt.pack()
bt_pygame.pack()
bt_wx.pack()
bt_fh.pack()
# mainloop