Difference between revisions of "Development/Languages/Python"

Jump to: navigation, search
(Update to the intro. Book link added.)
Line 1: Line 1:
{{note| PyKDE 4 is in development. See below for details. PyQt4 is finished and can be found [http://www.riverbankcomputing.co.uk/software/pyqt/intro here]}}
 
 
 
Python is a powerful object oriented scripting language. You can find out more about the language itself on the Python website at http://www.python.org/.
 
Python is a powerful object oriented scripting language. You can find out more about the language itself on the Python website at http://www.python.org/.
  
* [http://www.riverbankcomputing.co.uk/software/pyqt/intro PyQt] and [http://www.riverbankcomputing.co.uk/software/pykde/intro PyKDE] bindings <br />''<font size="-1"> Powerful python bindings to the Qt and KDE libraries. These bindings support overloading of virtual functions by python code, so you can even create new widgets in Python. </font>''
+
KDE applications developed using Python use two important pieces of software, [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 KDE's libraries and adds support for the extra libraries and features in KDE.  
 +
 
 
* [http://www.xs4all.nl/~bsarempt/python/tutorial.html KDE-Python tutorial]<br />''<font size="-1"> A python version of Daniel's KDE tutorial by Boudewijn Rempt. </font>''
 
* [http://www.xs4all.nl/~bsarempt/python/tutorial.html KDE-Python tutorial]<br />''<font size="-1"> A python version of Daniel's KDE tutorial by Boudewijn Rempt. </font>''
 
* [http://vizzzion.org/?id=pyqt Python-Qt tutorial]<br />''<font size="-1"> In this tutorial, the basic steps of creating a Qt-based application with PyQt are explained. </font>''
 
* [http://vizzzion.org/?id=pyqt Python-Qt tutorial]<br />''<font size="-1"> In this tutorial, the basic steps of creating a Qt-based application with PyQt are explained. </font>''
Line 10: Line 13:
 
* [http://websvn.kde.org/trunk/KDE/kdebindings/dcoppython/ DCOP via Python]
 
* [http://websvn.kde.org/trunk/KDE/kdebindings/dcoppython/ DCOP via Python]
  
==Abstract==
 
The PyKDE4 bindings will be made using [http://www.riverbankcomputing.co.uk/software/sip/intro SIP].
 
 
==Status==
 
 
As of 1-Sep-07 PyKDE code is essentially complete, except for Phonon module support. The package is now in KDE's subversion repository in /trunk/KDE/kdebindings/python/pykde4/. Current work is on examples, docs, and related tools (pykdeuic, etc.) Anyone wishing to work on either example code or test code should contact Jim Bublitz - jbublitz@nwinternet.com.
 
  
==Further reading==
+
==Further reading and information==
 
*[http://www.riverbankcomputing.com/mailman/listinfo/pyqt PyQt and PyKDE mailing list]
 
*[http://www.riverbankcomputing.com/mailman/listinfo/pyqt PyQt and PyKDE mailing list]
 
*[http://www.riverbankcomputing.co.uk/software/pyqt/intro PyQt Homepage]
 
*[http://www.riverbankcomputing.co.uk/software/pyqt/intro PyQt Homepage]

Revision as of 12:05, 13 July 2008

Python is a powerful object oriented scripting 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.


Further reading and information


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