Chapter 2. The QGIS Python Console
In this chapter, we will look at the ways in which you can use the QGIS Python Console as a geospatial development tool. We will also use the console as a looking-glass to examine the world of QGIS programming. In particular, we will learn the following:
- Explore the ways in which the console can be used to develop and execute Python code
- Learn how to write Python scripts using the console's built-in source code editor
- Discover various tips and techniques to work with the QGIS Console
- Figure out how to manipulate the current project within QGIS using Python commands
- Access geospatial data and perform geospatial calculations using the console
- Use various QGIS user-interface elements within our Python programs