<HTML>
<HEAD>
<TITLE>silly question - running a python script</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>I made a python script (rules_colors.py) , following the template on the GRASS WIKI<BR>
<BR>
<a href="http://grass.gdf-hannover.de/wiki/GRASS_and_Python"><http://grass.gdf-hannover.de/wiki/GRASS_and_Python></a><BR>
<BR>
I can run the script from the command line...<BR>
<BR>
python rules_colors.py<BR>
<BR>
...and it launches a TclTk GUI.<BR>
<BR>
<BR>
When I try to launch it from within the wxPython GUI, it will not launch and gives the error...<BR>
<BR>
IOError: Couldn't fetch interface description for command <rules_colors.py>.<BR>
<BR>
<BR>
Indeed if I try to launch it from the command line with...<BR>
<BR>
python rules_colors.py --interface-description<BR>
<BR>
...it gives me an error and does not recognize the “—interface-description” flag.<BR>
<BR>
<BR>
<BR>
This will need to work correctly if we are to start doing scripts in Python. Any suggestions?<BR>
<BR>
Mciahel<BR>
<BR>
<BR>
<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>
</SPAN></FONT>
</BODY>
</HTML>