<HTML>
<HEAD>
<TITLE>Re: grass-dev Digest, Vol 4, Issue 44</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>There are some 350 GRASS commands, all with arguments and some with LOTS of arguments (e.g., r.watershed, v.surf.rst). This seems like a lot of work.<BR>
<BR>
Michael<BR>
__________________________________________<BR>
Michael Barton, Professor of Anthropology<BR>
School of Human Evolution & Social Change <BR>
Center for Social Dynamics & Complexity<BR>
Arizona State University<BR>
<BR>
phone: 480-965-6213<BR>
fax: 480-965-7671<BR>
www: <a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a> <BR>
<BR>
<BR>
<BR>
<BR>
<B>From: </B><grass-dev-request@grass.itc.it><BR>
<B>Reply-To: </B><grass-dev@grass.itc.it><BR>
<B>Date: </B>Mon, 14 Aug 2006 06:39:40 +0200<BR>
<B>To: </B><grass-dev@grass.itc.it><BR>
<B>Subject: </B>grass-dev Digest, Vol 4, Issue 44<BR>
<BR>
<BR>
The Python interpreter is interactive, but it is not a general purpose shell. You would need to wrap external programs in an os.system or os.popen call. One attractive way of getting around this is to pre-wrap each program in a python object. For example: <BR>
<BR>
class Display:<BR>
<BR>
def rast(self, rastername):<BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>