Hi Glynn I tried grass.script.mapsets but I get this error: line 59, in main var=grass.mapsets(False) AttributeError: 'module' object has no attribute 'mapsets'
previously I had this: import grass.script as grass Am I doing something wrong? Thank you Glynn Monica On Mon, Jan 31, 2011 at 11:38 AM, Glynn Clements <gl...@gclements.plus.com>wrote: > > Monica Buescu wrote: > > > How can I check if a certain mapset exists in my active location in a > Python > > Script? > > grass.script.mapsets(False) > > returns a list of mapsets in the current location. > > -- > Glynn Clements <gl...@gclements.plus.com> >
_______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user