[GRASS-dev] GRASS 6.4 Python Scripts- examples

Hi

I’m just starting to work on GRASS Python scripts and I wanted to see a few examples of already developed python Scripts. Besides the one that is in g.parse help page, is there any other that I can see?

Thank you

Best regards
Franz

On Wed, Feb 10, 2010 at 1:22 PM, Franz Schiller
<franzschiller1975@gmail.com> wrote:

Hi
I'm just starting to work on GRASS Python scripts and I wanted to see a few
examples of already developed python Scripts. Besides the one that is in
g.parse help page, is there any other that I can see?

All scripts in GRASS 7 are in Python:
http://svn.osgeo.org/grass/grass/trunk/scripts/
I suppose that much of that also works in latest GRASS 6.

And there is the Wiki page
http://grass.osgeo.org/wiki/GRASS_and_Python

It would be great to see more "best practice" tips be added in the Wiki.

Markus

Markus Neteler wrote:

> I'm just starting to work on GRASS Python scripts and I wanted to see a few
> examples of already developed python Scripts. Besides the one that is in
> g.parse help page, is there any other that I can see?

All scripts in GRASS 7 are in Python:
http://svn.osgeo.org/grass/grass/trunk/scripts/
I suppose that much of that also works in latest GRASS 6.

The 6.x and 7.0 versions of the grass.script library are practically
identical. A few of the actual scripts may not work on 6.x due to
minor changes in the modules' interfaces.

--
Glynn Clements <glynn@gclements.plus.com>