[GRASS-user] A Py-script where I check group and delete

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