Development/Languages/Python

Jump to: navigation, search

Python is a powerful object oriented, dynamic language. You can find out more about the language itself on the Python website at http://www.python.org/.

KDE applications developed using Python use two important pieces of software, PyQt and PyKDE. PyQt provides Python support for the Qt library which KDE is built on. PyQt can be obtained at http://www.riverbankcomputing.co.uk/software/pyqt/ . Riverbank Computing has a lot of good documentation about how to use PyQt to create pure Qt applications. If you are new to KDE / Python development, then learning how to use PyQt is the best first step.

noframe
 
Note
The book Rapid GUI Programming with Python and Qt is available and covers Qt 4 programming with Python.

PyKDE builds on top of PyQt and KDE's libraries and adds support for the extra libraries and features in KDE.

You can obtain PyKDE 4 from KDE's subversion repository:

svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebindings/python/pykde4

It's also available via http://websvn.kde.org/trunk/KDE/kdebindings/python/pykde4/.

Documentation and Tutorials

KDE 3 and PyKDE 3

Documentation and tutorials for the older PyQt and PyKDE 3.

  • Python-Qt tutorial
    In this tutorial, the basic steps of creating a Qt-based application with PyQt are explained.


Further reading and information


KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal