Python - Tipps und Tricks: Unterschied zwischen den Versionen

Aus Geoinformation HSR
Wechseln zu: Navigation, Suche
K
K
Zeile 1: Zeile 1:
 
Tipps und Tricks zu [[Python]].
 
Tipps und Tricks zu [[Python]].
 +
 +
The Pythonic Way...
 +
* Program documentation: PyDoc (plus separate doc generator?)
 +
* Test environment: Tox - generic virtualenv management and test command line tool
 +
* (Type validation? https://github.com/williame/obiwan )
  
 
Weitere Python Software-Bibliotheken installieren:
 
Weitere Python Software-Bibliotheken installieren:
* easy_install: ...
+
* pip (easy_install): ...
* ...
+
* ipython
  
 
To connect to PostgreSQL from Python:
 
To connect to PostgreSQL from Python:

Version vom 8. April 2014, 11:24 Uhr

Tipps und Tricks zu Python.

The Pythonic Way...

  • Program documentation: PyDoc (plus separate doc generator?)
  • Test environment: Tox - generic virtualenv management and test command line tool
  • (Type validation? https://github.com/williame/obiwan )

Weitere Python Software-Bibliotheken installieren:

  • pip (easy_install): ...
  • ipython

To connect to PostgreSQL from Python:

Verschiedenes / Code-schnipsel: