TransWikia.com

Printing Output in PyQGIS Plugin

Geographic Information Systems Asked by sam c on November 29, 2020

In developing a PyQGIS plugin, I would like to be able to print out variable values to ensure that my program has the desired functionality. I am aware that I can print messages with something like QgsMessageLog.logMessage("hello"), but this does not work for variable values.

One Answer

Just use the native Python print e.g print(your_variable)

Answered by ThomasG77 on November 29, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP