+ 2
Design button and windows
how i can create button and windows with python
10 odpowiedzi
+ 2
tkinter module is an option
+ 2
yeah just do
import tkinter
+ 2
open a .py file and write
import tkinter
root = tkinter.Tk()
root.mainloop()
this will create an empty window
+ 2
read this https://docs.python.org/3/library/tk.html there u can find different widgets to add to ur gui application
+ 2
Explore this site https://wiki.python.org/moin/GuiProgramming . tkinter is installed by default with Python and for easy usage i suggest more advanced experience - PyQt/PySide. PyQt4 is mostly used but PyQt5 exist and beeing researched. With PyQt you can use Qt Designer to manually place widgets in your window and when is done transform into .py file. Use Google for more help
+ 1
ok is it option in like pycharm or visual studio
+ 1
sorry but i can not find this option in visaul studio and pycharm
+ 1
ok after do this i did see the toolbox is empty
+ 1
ok good but where i can find toolbox for add the button and other ...
0
It is not an option, it is module! Write at the top of your code
import tkinter