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))
Another good option is the message log.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the
terms of service.
7 months ago
5 months ago