TW 453-323
TW 453-323
Ghislain Prince
This presentation
- Standard libraries
- “batteries included”
• docs.python.org/2/library/2to3.html
• docs.python.org
• Installed with ArcGIS
3rd Party Library
• XML
• JSON
• CSV
• Excel
• PDF
• Numpy/Pandas*
• NetCDF
3 XML options within the standard library
• SAX
- Can handle huge datasets
- Hard to use, verbose code
• DOM
- Familiar: Javascript uses the DOM
- Easy (ish)
• Etree
- Feels like python
- Extremely easy and concise for common tasks
JSON
• json module
• csv module
• arcpy.mapping.PDFDocument
• reportlab (third-party)
- allows rapid creation of rich PDF documents, and also creation of charts in a variety
of bitmap and vector formats.
Networking
• Numpy
• Pandas *
• Scipy *
• Sympy *
• R bridge (coming soon: github.com/R-ArcGIS … wait this isn’t python at all)
arcpy.wordpress.com
twitter.com/arcpy
desktop.arcgis.com/en/desktop/