Python Codebook#

A practical Python code reference for quick lookup and copy/paste snippets, covering language fundamentals, data modules, and geospatial libraries.

Developed by Giovanni Caudullo, Senior GIS analyst at the European Commission’s Joint Research Centre (JRC).

Section

Description

Python Basics

Core language: variables, types, strings, lists, dictionaries, file I/O, control flow, module installation

Python Modules

Data libraries: NumPy, Pandas, Matplotlib, CSV, datetime, NetworkX, XML

Spatial Modules

Geospatial: ArcGIS, GDAL, GRASS, Fiona/Shapely, GEE, Rasterio, NetCDF