Python - Tipps und Tricks: Unterschied zwischen den Versionen

Aus Geoinformation HSR
Wechseln zu: Navigation, Suche
K
K
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: Zeile 1:
 
Tipps und Tricks zu [[Python]].
 
Tipps und Tricks zu [[Python]].
  
Weitere Python Software-Bibliotheken installieren:
+
A Programming Environment - The Pythonic Way...
* easy_install: ...
+
* An IDE, e.g. ipython :-)
* ...
+
* SW installer: pip (easy_install)
 +
* "Virtual Environment"
 +
* Program documentation: PyDoc (plus separate doc generator?)
 +
* Test environment: Tox - generic virtualenv management and test command line tool
 +
* Fabric (für Aufsetzen der Arbeitsumgebung, Deployment etc.): http://fabric.readthedocs.org/
 +
* (Type validation? https://github.com/williame/obiwan )
  
 
To connect to PostgreSQL from Python:
 
To connect to PostgreSQL from Python:

Aktuelle Version vom 8. April 2014, 13:54 Uhr

Tipps und Tricks zu Python.

A Programming Environment - The Pythonic Way...

  • An IDE, e.g. ipython :-)
  • SW installer: pip (easy_install)
  • "Virtual Environment"
  • Program documentation: PyDoc (plus separate doc generator?)
  • Test environment: Tox - generic virtualenv management and test command line tool
  • Fabric (für Aufsetzen der Arbeitsumgebung, Deployment etc.): http://fabric.readthedocs.org/
  • (Type validation? https://github.com/williame/obiwan )

To connect to PostgreSQL from Python:

Verschiedenes / Code-schnipsel: