Hamish wrote:

> Hamish:
> > > see  http://grass.gdf-hannover.de/wiki/GRASS_and_Python
> Rainer:
> > Looking at the document, I must say it seems to be a usefull approach to 
> > use Python - and it is crossplatform. One thing which I did not see that 
> > quickly is how I can execute grass commands from python - I guess it is 
> > easy, but I didn't find it when I looked at the document.

For information on running external commands from Python, see:

        http://docs.python.org/lib/module-subprocess.html

Avoid using the older os.* functions. Section 17.1.3 lists equivalents
using the Popen() interface, which is more robust (particularly on
Windows).

-- 
Glynn Clements <[EMAIL PROTECTED]>

_______________________________________________
grassuser mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grassuser

Reply via email to