[GRASS-SVN] r35456 - grass/trunk/swig/python
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jan 17 07:48:17 EST 2009
Author: neteler
Date: 2009-01-17 07:48:17 -0500 (Sat, 17 Jan 2009)
New Revision: 35456
Modified:
grass/trunk/swig/python/grasspython.dox
Log:
usage added
Modified: grass/trunk/swig/python/grasspython.dox
===================================================================
--- grass/trunk/swig/python/grasspython.dox 2009-01-17 12:46:12 UTC (rev 35455)
+++ grass/trunk/swig/python/grasspython.dox 2009-01-17 12:48:17 UTC (rev 35456)
@@ -23,8 +23,17 @@
<li> vector
</ul>
+Usage:
+<p>
+These can be imported individually with e.g. "import swig.grass", or the
+user can import all of them with "import swig" (then use e.g.
+swig.grass.G_gisinit etc), or it can be used e.g. "from swig.grass import *"
+to import all names from a module. The latter can be done for multiple
+modules, but currently, there's no way to import names from all sub-modules
+of a module with a single command.
+
<P>
-See:
+See also:
<ul>
<li> common.i
More information about the grass-commit
mailing list