Difference between revisions of "Development/Languages/Python"

Jump to: navigation, search
(Cleaned out some of the really really old links.)
(Added Using PyKDE 4 link.)
Line 1: Line 1:
 
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/.
 
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, [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. }}
 
{{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.  
+
PyKDE builds on top of PyQt and add Python support for KDE's libraries and technologies.
  
 
You can obtain PyKDE 4 from KDE's subversion repository:
 
You can obtain PyKDE 4 from KDE's subversion repository:
Line 14: Line 14:
  
 
==Documentation and Tutorials==
 
==Documentation and Tutorials==
* [http://www.rkblog.rk.edu.pl/w/p/introduction-pyqt4/ Introduction to PyQt4]
+
Main documentation:
 +
* [http://www.riverbankcomputing.co.uk/software/pyqt/intro PyQt home page and documentation]
 +
* [[/Using PyKDE 4|Using PyKDE 4]]
 +
 
 +
Extra tutorials and articles:
 +
* [http://www.rkblog.rk.edu.pl/w/p/introduction-pyqt4/ Introduction article about PyQt4]
  
 
===KDE 3 and PyKDE 3===
 
===KDE 3 and PyKDE 3===
 
Documentation and tutorials for the older PyQt and PyKDE 3.
 
Documentation and tutorials for the older PyQt and PyKDE 3.
 
* [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>''
 
  
 
==Further reading and information==
 
==Further reading and information==

Revision as of 09:12, 23 July 2008

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.

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 add Python support for KDE's libraries and technologies.

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

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


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