Simple Python GUI?

I am going through both the Ruby and Python3 courses with my teenage cousins and things are going great. Eventually, after they’re done, I would like to move into simple GUI toolkits. For Ruby, it looks like Shoes is path of least resistance, but what is the equivalent for Python? I have looked at TKinter, but there is no straight-forward entry into the toolkit that I can find. Any suggestions?

What do you mean "straight-forward entry " ? I don’t think you’ll get a GUI IDE for it but is all about getting your own GUI built with code. Right?

Is this what you are referring to?

Correct, I am not asking about an IDE. Shoes is a toolkit for building custom GUIs using Ruby code, I am looking for something similar in the Python community.

Try https://wiki.python.org/moin/GUI%20Programming%20in%20Python

In addition, you may want to look at some of the web frameworks as well (flask, django, pyramid, etc.)
https://www.fullstackpython.com/web-frameworks.html

Have a great day and happy coding!

-CaH

You might want to take a look at the PyGame library:

https://www.pygame.org/wiki/about

I think the best out there right now is PyBee’s Toga:

But keep in mind I haven’t used that yet. I just know the people involved and they’re top notch coders with a real reason for making a decent GUI library.

Next up you have Kivy:

Which might be more what you’re looking for since it does a wide range of “artistic” graphics in Python. I used it a loooonng time ago, but try it out. I’d say it’s probably the closest thing to Shoes you’ll get in Python.

Finally, you can code the awesome Godot engine with Python:

PyGame works but Godot is a much more mature open source game platform should you need to expand out from simple games.

3 Likes

Awesome, this is exactly what I was looking for.

Hi Nipponese. If your cousins have either an iPhone or iPad, they can also try out the UI and Scene modules in the Pythonista app.

There are some great examples of what you can make from photo editors to games.