[GRASS-dev] Python equivalent of piping results from one function to another

Paulo van Breugel p.vanbreugel at gmail.com
Sun Oct 18 11:03:16 PDT 2015


What would be the python equivalent of:

r.category mymap | r.category mymap rules=-

I have been looking at the pygrass interface
<https://grass.osgeo.org/grass71/manuals/libpython/_modules/pygrass/modules/interface/module.html>,
but I didn't understand things well enough to see how to proceed.

Any pointers would be appreciated

Cheers,

Paulo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20151018/14a08673/attachment.html>


More information about the grass-dev mailing list