I would like to use the GUI application in Python, but please tell me which tools can be easily placed like VB and VBA.
The only thing I know is the QT Designer, but I heard that there is a license fee, so I would like to explore the possibility of a different one.Thank you for your cooperation.
How about the Tkinter that comes with Python?
https://docs.python.org/ja/3/library/tkinter.html
https://qiita.com/nnahito/items/ad1428a30738b3d93762
To test, button placement is
import tkinter ask
import tkinter.messagebox as tm
root=tk.Tk()
root.title ("Example")
root.geometry ("200x200")
def click (event):
tm.showinfo("Hello!", "You clicked the button!")
btn=tk.Button(text="Click Me", width=25)
btn.bind("<Button-1>", click)
btn.place(x=10,y=10)
root.mainloop()
You can do it with .(tkinter.messagebox
is used to display messages on the screen.)
The OSS version of QtCreator/QtDesigner is available for download.
"If ""possibly different"" is not the main purpose, why not use it?"
© 2024 OneMinuteCode. All rights reserved.