Python - Tipps und Tricks: Unterschied zwischen den Versionen
Aus Geoinformation HSR
Stefan (Diskussion | Beiträge) K |
Stefan (Diskussion | Beiträge) K |
||
Zeile 1: | Zeile 1: | ||
Tipps und Tricks zu [[Python]]. | Tipps und Tricks zu [[Python]]. | ||
− | The Pythonic Way... | + | 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?) | * Program documentation: PyDoc (plus separate doc generator?) | ||
* Test environment: Tox - generic virtualenv management and test command line tool | * 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 ) | * (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:
- PythonGeocoder
- Dokumentation mit PyDoc-Format und Sphinx