Python: Unterschied zwischen den Versionen
Aus Geoinformation HSR
(→Installation Python) |
(→Installation Python) |
||
Zeile 21: | Zeile 21: | ||
Installation Python unter Windows: | Installation Python unter Windows: | ||
* Installiere Python mit dem MSI-Installer. Die stabilste Windows Version ist Python 2.6.4. Hier der Link zum Installer: http://www.python.org/ftp/python/2.6.4/python-2.6.4.msi | * Installiere Python mit dem MSI-Installer. Die stabilste Windows Version ist Python 2.6.4. Hier der Link zum Installer: http://www.python.org/ftp/python/2.6.4/python-2.6.4.msi | ||
− | * Andere Versionen sind unter http://www.python.org/download/ | + | * Andere Versionen sind unter http://www.python.org/download/ downloadbar. |
Installation Python unter Unix: | Installation Python unter Unix: |
Version vom 16. März 2010, 20:24 Uhr
Siehe auch:
Inhaltsverzeichnis
Dokumentation
für Neueinsteiger:
- "Programmieren lernen" von Alan Gauld
- A Byte of Python (deutsche Übersetzung) Original-Version von Swaroop C H
Bücher:
- Dive into Python - Online-Version
- Python in a Nutshell
- Learning Python
- Python Essential Reference
Python installieren und editieren
Installation Python
Installation Python unter Windows:
- Installiere Python mit dem MSI-Installer. Die stabilste Windows Version ist Python 2.6.4. Hier der Link zum Installer: http://www.python.org/ftp/python/2.6.4/python-2.6.4.msi
- Andere Versionen sind unter http://www.python.org/download/ downloadbar.
Installation Python unter Unix:
- Die meisten Linux-Distributionen haben Python schon installiert. Wird eine neuere Version gebraucht, kann man diese aus den Sourcen bilden. http://www.python.org/download/
- Für Red Hat, installiere python2 und python2-devel Pakete.
- Für Debian oder Ubuntu, installiere python2.6 und python2.6-dev Pakete.
- Für Gentoo, installiere das '=python-2.x*' ebuild. http://www.gentoo.org/proj/en/Python/
- Für andere Systeme, bilde Python über die Sourcen. http://www.python.org/download/
Python-Editoren und IDEs
Zum Editieren und als Entwicklungsumgebung (integrated development environments, IDE) empfehlen wir Eclipse mit pyDev:
- Eclipse mit pyDev-Plugin: (Unix, Windows, Mac OS X), vollständige IDE u.a. mit Code-Vervollständigung und Refactoring.
- Installation: http://eclipse.org und http://pydev.org/manual_101_install.html
- Python Development with PyDev and Eclipse - Tutorial
Ansonsten haben wir über folgende Editoren gutes gehört (und gelesen):
- Eric?
- PythonWin: (Windows only), mit Debugger, bei ArcGIS-User verbreitet, keine Code-Vervollständigung.
- Komodo Edit: Open Source-Version von "Komodo IDE" (Unix, Windows, Mac OS X)
Python-Programmierung
Python-Programmierung für GIS
PyWPS Web Processing Service: PyWPS ia Python program which implements the OGC WPS 1.0.0 standard (with a few omissions). PyWPS has a low footprint, making it easy to install. Python was considered a good choice of implementation language as it is a very easy language to develop in and allows partners to easily integrate existing processing which may have been written in other languages. See http://pywps.wald.intevation.org/documentation/ .
Python-Programmierung mit QGIS
Python-Programmierung mit ArcGIS
- Lecture "GIS Programming with Python" von John Lowry e al.
- "A Guide to the Python Universe for ESRI".
- Kurse z.B. bei ESRI Suisse in Zürich.
Weblinks
- Python Cookbook - A collection of the Python "recipies"
- The official website for the Python language: python.org
- The Python Tutorial