2015-04-07 13:28 GMT+02:00 Pietro <[email protected]>: > On Tue, Apr 7, 2015 at 1:05 PM, Martin Landa <[email protected]> wrote: >> hm, is there any way how to parse command output using pygrass without >> need to define your own function? > > Why not use: parse_key_val(s, sep='=', dflt=None, val_type=None, vsep=None) > > define in grass.script.utils?
you are right, are you planning to update pygrass manual? Martin -- Martin Landa http://geo.fsv.cvut.cz/gwiki/Landa http://gismentors.cz/mentors/landa _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
