[GRASS-user] Get output from r.stats in Python script

2013-07-29 Thread António Rocha
Dear all I'm doing some Python scripts and I want to retrieve r.stats output information in a variable. How can I do this? variable= grass.run_command(r.series, .. ) Thanks Antonio ___ grass-user mailing list grass-user@lists.osgeo.org

Re: [GRASS-user] Get output from r.stats in Python script

2013-07-29 Thread Moritz Lennert
On 29/07/13 15:03, António Rocha wrote: Dear all I'm doing some Python scripts and I want to retrieve r.stats output information in a variable. How can I do this? variable= grass.run_command(r.series, .. ) Try grass.pipe_command as suggested here: