[Qgis-developer] response/output is missing in python console
of qgis 1.2.0 and 1.3.0 in win xp.
motta.luiz at gmail.com
motta.luiz at gmail.com
Fri Oct 9 14:33:37 EDT 2009
Volkan,
The console python Qgis you need explicit stdout, then all methods
return string, for view you need use function print
print *layer1.name <http://layer1.name>()
*
Volkan Kepoglu escreveu:
> Dear Developers,
>
> I can not get any output result from the python console after version
> 1.2.0 and 1.3.0 in win xp with the new gui design of python console.
>
> it seems that the console is working very well like when the command
> "iface.zoomFull()" is executed, the display changes.
>
>
> But when any command something like below is tried, there is no
> response in the python console of qgis. *
>
> >>> layer1 = iface.mapCanvas().layer(0)
> **>>> layer1.name <http://layer1.name>()
>
> *
>
> Before version 1.2.0, the name of the layer is shown as the output in
> the console.
>
> This is very delicate and useful feature for the developers who
> develop the plugin in win.
>
>
> Is there any other way to get a quick response/output from the python
> qgis commands in win os?
>
> If not, can this feature be included as the same as like before
> version 1.2.0?
>
>
>
>
> --
> Regards,
> Volkan Osman Kepoglu
> PhD Candidate
> GGIT Department in METU,
> Ankara, Turkey.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
More information about the Qgis-developer
mailing list