Python Console based on pyScintilla. (Developed by Salvatore Larosa)
To access Quantum GIS environment from this console
use qgis.utils.iface object (instance of QgisInterface class).
To import the class QgisInterface can also use the dedicated
button on the toolbar on the left.
- Auto-completion and highlighting syntax for the following APIs:
- Python
- PyQGIS-master
- PyQt4
- QScintilla2
- osgeo-gdal-ogr
- CTRL+SPACE to view the auto-completion list.
- CTRL+ALT+SPACE to view the command history list.
- Saves command history by typing _save or closing the widget.
This command saves the history command in the file ~/.qgis/console_history.txt
- Clears command history by typing _clear.
This command clears the history command from file ~/.qgis/console_history.txt
- Clears completely command history by typing _clearAll.
This command clears completely the history command. It has an irreversible effect.
The following is a description of the tools in the toolbar:
 |
Tool to clear python console |
 |
Tool to import iface class |
 |
Tool to import Sextante class |
 |
Tool to open a python script and load in console |
 |
Tool to save a python script |
 |
This! ;-) |
 |
Run command (like Enter key pressed) |
Thanks to Larry Shaffer who provided the API files.