[GRASS-SVN] r37364 - grass/branches/develbranch_6/lib/python
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri May 22 10:40:37 EDT 2009
Author: neteler
Date: 2009-05-22 10:40:37 -0400 (Fri, 22 May 2009)
New Revision: 37364
Modified:
grass/branches/develbranch_6/lib/python/grasspythonlib.dox
Log:
say what it is; spearfish60
Modified: grass/branches/develbranch_6/lib/python/grasspythonlib.dox
===================================================================
--- grass/branches/develbranch_6/lib/python/grasspythonlib.dox 2009-05-22 14:36:42 UTC (rev 37363)
+++ grass/branches/develbranch_6/lib/python/grasspythonlib.dox 2009-05-22 14:40:37 UTC (rev 37364)
@@ -1,17 +1,28 @@
-/*! \page pythonlib GRASS 6 Python library
+/*! \page pythonlib GRASS 6 Python scripting library
-by GRASS Development Team
+by GRASS Development Team (http://grass.osgeo.org)
-http://grass.osgeo.org
+\section intro Introduction
-See code in: grass.py
+The code in lib/python/ provides "grass.script" in order to support GRASS
+scripts written in Python. The scripts/ directory of GRASS contains a
+series of examples actually provided to the end users.
+See code in:
+<ul>
+<li>grass.py</li>
+</ul>
-\section scripting GRASS scripting tasks for Python provided by "grass.py".
+\section scripting GRASS scripting tasks for Python provided by "grass".
-Usage: "import grass"
+Usage:
+\code
+import grass
+\endcode
+
\section make_command
+
\code
def make_command(prog, flags = "", overwrite = False, quiet = False, verbose = False, **options):
\endcode
@@ -40,7 +51,7 @@
<subprocess.Popen object at 0xb7c12f6c>
>>> print p.communicate()[0]
GISDBASE='/opt/grass-data';
-LOCATION_NAME='spearfish57';
+LOCATION_NAME='spearfish60';
MAPSET='glynn';
GRASS_DB_ENCODING='ascii';
GRASS_GUI='text';
@@ -62,7 +73,7 @@
<subprocess.Popen object at 0xb7c12f6c>
>>> print p.communicate()[0]
GISDBASE='/opt/grass-data';
-LOCATION_NAME='spearfish57';
+LOCATION_NAME='spearfish60';
MAPSET='glynn';
GRASS_DB_ENCODING='ascii';
GRASS_GUI='text';
More information about the grass-commit
mailing list