Martin Lacayo wrote
> #remove the location from disk
> print 'Removing location %s' % location_uri
> os.system("rm -rf %s" % location_uri)
Rather than rely on having 'rm' available you could also do:
import shutil
shutil.rmtree(location_uri)
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Getting-Started-with-GRASS-Python-Scripts-tp5055380p5055759.html
Sent from the Grass - Users mailing list archive at Nabble.com.
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user