[Qgis-developer] response/output is missing in python console of
qgis 1.2.0 and 1.3.0 in win xp.
Volkan Kepoglu
vkepoglu at gmail.com
Fri Oct 9 14:41:37 EDT 2009
thanks a lot, it worked.
>>> l = iface.mapCanvas().layer(0)
>>> print l.name()
fire1998mah
but when it is executed without print and seeing that doing nothing, this
gives an impression that the console is not working.
again, thank you both so much for very fast response.
On Fri, Oct 9, 2009 at 9:27 PM, Borys Jurgiel <borysiasty at aster.pl> wrote:
> Dne pátek 09 října 2009 20:25:10 Volkan Kepoglu napsal(a):
> > >>> layer1 = iface.mapCanvas().layer(0)
> >
> > **>>> layer1.name()
> >
> > *
>
> Try:
>
> print layer1.name()
>
> Obviously it's less comfortable and I'll think about this issue!
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20091009/932abb64/attachment.html
More information about the Qgis-developer
mailing list