Click on PyQGIS developer cookbook to open the resource.