<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 15, 2014 at 3:40 AM, <span dir="ltr"><<a href="mailto:svn_grass@osgeo.org" target="_blank">svn_grass@osgeo.org</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id=":wu" class="" style="overflow:hidden"> grass.read_command('g.region', flags = 'p', region = 'original')<br>
+ grass.run_command('g.remove', flags = 'f', type = 'region', name = 'original')</div></blockquote></div><br>I think it would be better to use use_temp_region() and del_temp_region() functions from grass.script. grep source code for usage; please extend their doc if you have something.<br><br></div><div class="gmail_extra">Vaclav<br></div><div class="gmail_extra"><br><a href="http://grass.osgeo.org/grass71/manuals/libpython/script.html#script.core.use_temp_region">http://grass.osgeo.org/grass71/manuals/libpython/script.html#script.core.use_temp_region</a><br><a href="http://grass.osgeo.org/grass71/manuals/libpython/script.html#script.core.del_temp_region">http://grass.osgeo.org/grass71/manuals/libpython/script.html#script.core.del_temp_region</a><br><a href="http://trac.osgeo.org/grass/changeset/63549">http://trac.osgeo.org/grass/changeset/63549</a><br></div></div>