+ 2

How do one make application windows?

I have been learning about python for a month now but haven't come across a discussion about graphical interfaces. I write in IDLE and always seen a textual output. Of course I have seen some amazing looking things made just using text example making patterns with special symbols like hash and dollar. But never I have seen traditional application windows. How do one make one?

22nd Dec 2017, 11:01 AM
a2warik
a2warik - avatar
4 Answers
+ 9
At some point you will need to choose which graphics library to use. There is a variety of options. For simple animated drawings, you can start with Turtle Graphics. Here is a good introduction to Python Graphics. https://pythonspot.com/gui/
22nd Dec 2017, 11:49 AM
Eric Blinkidu
Eric Blinkidu - avatar
+ 2
For GUIs you need to choose one library or API and use it to create the app. For Python, there are a lot of these that are cross-platform. Among those I can only speak of PyQt4 and 5 and Kivy, which are the ones I've used. For highly customizable interfaces use Kivy. For native looking ones, PyQt. Also, PyQt comes with a design app to build the interface quite quickly. Other popular libraries are wxWidgets and PySide, but I'm not sure they are actively developed at the moment.
22nd Dec 2017, 12:54 PM
spcan
spcan - avatar
+ 1
is it an app or is it a library. I shall learn more of it soon. thanks for the direction
22nd Dec 2017, 12:38 PM
a2warik
a2warik - avatar
+ 1
i still need much much to learn before creating an app then. thanks to the community, I shall learn quickly. thanks for help @spscan & @ericblinkidu
22nd Dec 2017, 1:12 PM
a2warik
a2warik - avatar