<div dir="ltr"><div><div><div><div>What would be the python equivalent of:<br><span style="font-family:monospace,monospace"><br><code class="">r.category mymap | r.category </code><code class=""><code class="">mymap</code> rules=-</code></span><br><br></div>I have been looking at the <a href="https://grass.osgeo.org/grass71/manuals/libpython/_modules/pygrass/modules/interface/module.html">pygrass interface</a>, but I didn't understand things well enough to see how to proceed.<br><br></div>Any pointers would be appreciated<br><br></div>Cheers,<br><br></div>Paulo<br></div>