[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 15:05:35 EDT 2009
this is also works:
k = 4
if k ==4:
print "mulitple"
print "is ok"
>>> k=4 if k==4: print "multiple" print "is ok"
multiple is ok
multiple statement per execution become possible. wonderful.
is there any doc about what else has changed in the python console?
On Fri, Oct 9, 2009 at 9:41 PM, Volkan Kepoglu <vkepoglu at gmail.com> wrote:
> 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
>>
>
>
>
--
Regards,
Volkan Osman Kepoglu
PhD Candidate
GGIT Department in METU,
Ankara, Turkey.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20091009/7b35d091/attachment-0001.html
More information about the Qgis-developer
mailing list