GRASS Python Scripting Library

From GRASS-Wiki
Revision as of 18:23, 14 March 2012 by ⚠️Landa (talk | contribs) (Created page with "The code in {{src|lib/python/|lib/python}} provides <tt>grass.script</tt> in order to support GRASS scripts written in Python. The {{src|scripts}} directory of GRASS 7 contain...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The code in lib/python/ provides grass.script in order to support GRASS scripts written in Python. The scripts directory of GRASS 7 contains a series of examples actually provided to the end users (while the script in GRASS 6 are shell scripts).

Python Scripting Library code details:

  • for GRASS 6: core.py, db.py, raster.py, vector.py, setup.py, array.py task.py
  • for GRASS 7: core.py, db.py, raster.py, vector.py, setup.py, array.py task.py