I am starting to develop a plugin for Qgis using python, which i am very new at, and would like to view some results of variables by displaying a message in QGIS. How can I do this?
some_variable = feature.geometry()
QMessageBox.information(None, "DEBUG:", str(some_variable))
Sign up for our newsletter and get our top new questions delivered to your inbox (see an example).
Another good option is the message log.
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
3 years ago