[Qgis-developer] Re: how to print to the shell?
Ricardo Filipe Soares Garcia da
ricardo.garcia.silva at gmail.com
Thu Aug 5 14:47:59 EDT 2010
Hi again
My problem has been solved, although I admit I don't know why. I just
had to restart Qgis, and now I can see the output of my print commands
in the shell again. Sorry for the noise
On Thu, Aug 5, 2010 at 4:25 PM, Ricardo Filipe Soares Garcia da
<ricardo.garcia.silva at gmail.com> wrote:
> Hi list
> A quick (and hopefully not too embarassing ;) ) question:
>
> -How can I print some variables to the shell when creating a python plugin?
> For example, I have a piece of code that goes:
>
> # python code
> parameters = dlg.return_parameters()
> print("parameters: %s" % parameters)
> # end of code
>
> I was expecting to see the output in the terminal, but I get
> nothing... I remember doing this in previous versions of Qgis, so
> something must have changed and I missed it.
> I'm using Qgis 1.5 on kubuntu 10.4
>
> Thank you.
>
> --
> ___________________________ ___ __
> Ricardo Garcia Silva
>
--
___________________________ ___ __
Ricardo Garcia Silva
More information about the Qgis-developer
mailing list