Luisa wrote:
> I have a Python-script where I create a group (using i.group)
> but, if the group already exists I need to eliminate (g.remove).
> My question is: How can I check, using Python Script code, if a
> group already exists?

run g.findfile. There could be a grass python library shortcut
for this, I'm not sure, check the python section of the GRASS
Programmer's manual.


Hamish




_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to