Python is great for a lot of things. Command-line applications, GUI
applications, batch scripts, server software, games, etc. Python has pretty
good support for all of it. Another good reason to learn Python is that it
has a large beginner community, which makes it easy to find other people on
the same path as you to get help.
Those are some of the reasons Python is very popular in free software
circles.
I use the Godot engine to make games. If you don't mind learning a more
domain-specific language, I heartily recommend Godot.