Python: Unterschied zwischen den Versionen

Aus Geoinformation HSR
Wechseln zu: Navigation, Suche
(Weblinks)
(Python-Programmierung für GIS)
Zeile 77: Zeile 77:
 
* Geoprocessing with Python using Open Source GIS:
 
* Geoprocessing with Python using Open Source GIS:
 
** Lecture/Module by Chris Garrard, Univ. Utah
 
** Lecture/Module by Chris Garrard, Univ. Utah
** Uses [[GDAL]]/[[OGR]]; see http://www.gis.usu.edu/~chrisg/python/
+
** Uses [[GDAL]]/[[OGR]] und Crimson IDE; see http://www.gis.usu.edu/~chrisg/python/
  
 
== Weblinks ==
 
== Weblinks ==

Version vom 23. Januar 2011, 19:47 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):

  • Komodo Edit (Unix, Windows, Mac OS X): Open Source-Version von "Komodo IDE". http://www.activestate.com/komodo_edit/
  • PyPE: Übersichtlicher Editor. http://pype.sourceforge.net/index.shtml
  • Eric4: Einfach und doch viele Funktionen, selber in Python geschrieben. Etwas aufwändig zu installieren. http://eric-ide.python-projects.org/
  • Jedit mit JpyDbg-Plugin: einfacher Editor mit Python-Plugin. http://jedit.org
  • PythonWin (Windows only): mit Debugger, bei ArcGIS-User verbreitet, keine Code-Vervollständigung.
  • IDLE: Im Python-Paket enthaltener Editor. Etwas gewöhnungsbedürftig, aber mit vielen Features wie: syntax highlighting, autocompletion und debugging.

Python-Programmierung

Python-Programmierung für GIS

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

  • Python-Programmierung mit ArcGIS:

Weblinks