Re: [GRASS-user] Accessing GRASS databases from Python

2011-01-20 Thread Glynn Clements
Joshua Arnott wrote: > I've had a look at the database functions in > the grass.script.db python library, but haven't had any luck getting the > db_select function to work. In the default install, the function didn't > even exist in db.py. I've added it, based on the current source, but all >

[GRASS-user] Accessing GRASS databases from Python

2011-01-20 Thread Joshua Arnott
Hi grass-users, I'd like to find out what is the best way of accessing a pre-connected database in GRASS from a Python script. I can see a few different possible approaches to this, but I'm not sure which to take. Ultimately, I want to be able to do two different tasks: 1) Change data for a