Python: Unterschied zwischen den Versionen

Aus Geoinformation HSR
Wechseln zu: Navigation, Suche
(Python-Programmierung)
Zeile 57: Zeile 57:
 
* SPE IDE - Stani's Python Editor: http://pythonide.blogspot.com/
 
* SPE IDE - Stani's Python Editor: http://pythonide.blogspot.com/
  
== Python-Programmierung ==  
+
== Python und Webframeworks ==  
  
=== Python-Programmierung für GIS ===
 
 
Applikationen:
 
* [[QGIS]]
 
* [[ArcGIS]]
 
 
* GeoDjango: GIS-Erweiterung des Webframeworks Django. Ermöglicht die Verwaltung von Geodaten und dadurch die Erfassung von Objekten direkt im Browser.
 
* GeoDjango: GIS-Erweiterung des Webframeworks Django. Ermöglicht die Verwaltung von Geodaten und dadurch die Erfassung von Objekten direkt im Browser.
  
WPS: PyWPS Web Processing Service:
+
== Python und GIS-Desktop-Systeme ==
* 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 QGIS:
Zeile 82: Zeile 75:
 
* Uses [[GDAL]]/[[OGR]] und Crimson Text Editor on Windows; see http://www.gis.usu.edu/~chrisg/python/
 
* Uses [[GDAL]]/[[OGR]] und Crimson Text Editor on Windows; see http://www.gis.usu.edu/~chrisg/python/
 
* The primary site for Python GDAL is http://trac.osgeo.org/gdal/wiki/GdalOgrInPython (Windows: http://pypi.python.org/pypi/GDAL/ ), other examples: http://www.pygis.de/index.php/GDAL  
 
* The primary site for Python GDAL is http://trac.osgeo.org/gdal/wiki/GdalOgrInPython (Windows: http://pypi.python.org/pypi/GDAL/ ), other examples: http://www.pygis.de/index.php/GDAL  
 +
 +
== Python und Geoprocessing Services ==
 +
 +
WPS: 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 allgemein ===
 
=== Python-Programmierung allgemein ===

Version vom 4. März 2011, 01:18 Uhr

Python ist eine universelle höhere Programmiersprache. Das Charakteristische an Python ist die Einrückung von Codeblöcken, was die Programmlesbarkeit erhöht. Mit Python kann man sowohl objektorientiert als auch prozedural (funktional) programmieren. Wie andere dynamische Sprachen, wird Python oft als Skriptsprache genutzt, beispielsweise in Office-Software (OpenOffice.org), Grafikprogrammen (Blender, Cinema 4D, Maya, GIMP) und in der Statistiksoftware SPSS - und nicht zuletzt in QGIS und ArcGIS.

Siehe auch:

Dokumentation

Online-Dokumentation für Neueinsteiger:

Bücher

Python:

  • für Einsteiger:
    • Python for Software Design - How to Think Like a Computer Scientist by Allen B. Downey, Online-Version - Gute Erklärung der Python-Grundlagen
    • Learning Python, Mark Lutz - Ein gutes Buch für Pythonanfänger.
    • Head First Programming Python, Griffiths, David und Paul Barry - Zu verspieltes Layout, zu grosse Bilder.
    • Python for Dummies, Maruch Stef und Aahz Maruch: - guter Aufbau, Icon für Tipps ect..
  • verschiedenes:
    • Dive into Python - Online-Version - Für Fortgeschrittene oder Umsteiger, beinhaltet interessante Zusatzthemen wie Web Services.
    • Python in a Nutshell, Martelli Alex - Gutes Buch, umfangreiche Beschreibung
    • Python Essential Reference, David M. Beazley - Gute Python Referenz.

Python zusammen mit weiteren Technologien:

  • Rapid GUI Programming with Python and Qt, Summerfield, Mark - Gutes Buch zu PyQt 4, Python und QT wird auch erklärt.

Python installieren und editieren

Installation Python

Installation Python unter Windows:

Installation Python unter Unix:

Python-Editoren und IDEs

Zum Editieren und als Entwicklungsumgebung (integrated development environments, IDE) empfehlen wir Eclipse mit pyDev:

Ansonsten haben wir über folgende Editoren gutes gehört (und gelesen):

Python und Webframeworks

  • GeoDjango: GIS-Erweiterung des Webframeworks Django. Ermöglicht die Verwaltung von Geodaten und dadurch die Erfassung von Objekten direkt im Browser.

Python und GIS-Desktop-Systeme

Python-Programmierung mit QGIS:

Python-Programmierung mit ArcGIS:

Geoprocessing with Python using Open Source GIS:

Python und Geoprocessing Services

WPS: 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 allgemein

tbd.

Weblinks