Tutorials¶
These tutorials give an introduction to writing GTK/GNOME applications in Python.
Prior to working through these tutorials, it is recommended that you have a reasonable grasp of the Python programming language. It is necessary for you to know how to create and run Python files, understand basic interpreter errors, and work with strings, integers, floats and boolean values. For the more advanced parts of these examples, good knowledge of lists and tuples will be needed.
Although here we try to describe the most important classes and methods from GObject based libraries like GTK, it is not supposed to serve as an API reference. Please refer to the API References list where you will find a detailed description of the API for each library. Also there’s a Python-specific reference available.
Note
Our tutorial list is still not as extensive as we would like, so if you have experience with PyGObject, contributing docs is a great way to help.
Some areas that could use your help: libadwaita components, GLib and Gio features.
API References¶
Other Resources¶
The GNOME Developer Documentation has some tutorials that include Python examples.