[Qgis-developer] Capturing stdout from a plugin

Salvatore Larosa lrssvtml at gmail.com
Sun Mar 17 17:46:36 PDT 2013


Hi Gary,

I issued a pull request [1] to revert that method.

Regards,

-SL

[1] - https://github.com/qgis/Quantum-GIS/pull/470


2013/3/15 Gary Sherman <gsherman at geoapt.com>

> In the 1.x console API, you could use:
>
> output = sys.stdout.get_and_clean_data()
>
> to grab what was sent to stdout via print statements.
>
> Is there an equivalent way to do this with the 2.0 API? I'm not seeing
> it...
>
> Thanks,
> -gary
>
>
> --
> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
> Gary Sherman
> Chair, QGIS Project Steering Committee
> -Desktop GIS Book:
>  *http://desktopgisbook.com
> -Alaska Novel:
>  *http://alaskana.co
> -Geospatial Consulting & Hosting:
>  *http://geoapt.com
> "We work virtually everywhere"
> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>


-- 
Salvatore Larosa
linkedIn: http://linkedin.com/in/larosasalvatore
twitter: @lrssvt
skype: s.larosa
IRC: lrssvt on freenode
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130318/3ade5214/attachment.html>


More information about the Qgis-developer mailing list