Difference between revisions of "Development/Languages/Python"

Jump to: navigation, search
(added link to the apidox)
Line 4: Line 4:
  
 
Two important pieces of software are needed to develop KDE applications using Python, [http://www.riverbankcomputing.co.uk/software/pyqt/intro 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.
 
Two important pieces of software are needed to develop KDE applications using Python, [http://www.riverbankcomputing.co.uk/software/pyqt/intro 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.
 
{{note| The book [http://www.qtrac.eu/pyqtbook.html Rapid GUI Programming with Python and Qt] is available and covers Qt 4 programming with Python. }}
 
  
 
PyKDE builds on top of PyQt and adds Python support for KDE's libraries and technologies.
 
PyKDE builds on top of PyQt and adds Python support for KDE's libraries and technologies.
Line 32: Line 30:
 
*[http://www.riverbankcomputing.co.uk/software/pykde/intro PyKDE Homepage]
 
*[http://www.riverbankcomputing.co.uk/software/pykde/intro PyKDE Homepage]
 
*[http://www.diotavelli.net/PyQtWiki The PyQt and PyKDE community Wiki]
 
*[http://www.diotavelli.net/PyQtWiki The PyQt and PyKDE community Wiki]
 +
*The book [http://www.qtrac.eu/pyqtbook.html Rapid GUI Programming with Python and Qt] is available and covers Qt 4 programming with Python.
  
 +
==Applications using PyKDE==
 +
*[http://utils.kde.org/projects/printer-applet/ printer-applet]
 +
*[http://websvn.kde.org/trunk/KDE/kdeadmin/system-config-printer-kde/ system-config-printer-kde]
 +
*[http://websvn.kde.org/trunk/extragear/utils/guidance-power-manager/ Guidance Power Manager], a battery applet
 +
*[https://code.launchpad.net/ubiquity/trunk Ubiquity], installer for Kubuntu
 +
*[https://code.launchpad.net/~ubuntu-core-dev/gdebi/ubuntu GDebi], .deb package installer
 +
*[https://code.launchpad.net/~jr/install-package/trunk install-package], graphical apt-get
  
 
[[Category:Python]]
 
[[Category:Python]]

Revision as of 01:37, 13 October 2008


Contents

Development/Languages/Python


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/.

Two important pieces of software are needed to develop KDE applications using Python, 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.

PyKDE builds on top of PyQt and adds Python support for KDE's libraries and technologies.

PyKDE is distributed as part of the kdebindings module. Stable releases can be downloaded from the normal KDE download page, although it is usually easier to install pre-built packages from your operating system distribution. You can also obtain PyKDE from KDE's subversion repository:

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

The code in subversion can be browsed online via http://websvn.kde.org/trunk/KDE/kdebindings/python/pykde4/.

Documentation and Tutorials

Main documentation:

Extra tutorials and articles:

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

Applications using PyKDE


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