[GRASSLIST:4418] Re: Python and GRASS57
bernhard at intevation.de
Mon Sep 27 11:16:54 EDT 2004
On Thu, Sep 09, 2004 at 11:08:26AM +0000, Bernhard Hoefle wrote:
> I want to use GRASS57 in a Python script/environment.
> How can I start GRASS within in the script and use the GRASS functions?
For a start you could use a shell script
that starts GRASS (without gui) and then start python
with your python script from within the GRASS environment.
You can use os.system() to run grass commands.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20040927/ceacddfd/attachment.bin
More information about the grass-user