<div>Hi Glynn,</div>
<div> </div>
<div>I will try this, but was thinking, as my plataform is not win32 (I am running amd64 or x64) if with the change :</div>
<div> if sys.platform == "win32": ....</div>
<div>if it will also work for my case?!<br></div>
<div>Cheers</div>
<div> </div>
<div>milton<br></div>
<div class="gmail_quote">2009/5/25 Glynn Clements <span dir="ltr"><<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im"><br>Milton Cezar Ribeiro wrote:<br><br>> I am trying to play with grass & python, and I am trying to<br>> reproduce the first example available at<br>> <a href="http://grass.osgeo.org/wiki/GRASS_and_Python" target="_blank">http://grass.osgeo.org/wiki/GRASS_and_Python</a><br>
> with the following adaptation:<br><br></div>
<div class="im">> To try this I started MSYS, started GRASS with -gui option,<br>> and then typed the name of the script (python_grass03.py): The error looks<br>> like:<br><br></div>
<div class="im">> File "C:\OSGeo4W\apps\grass\grass-6.4.0RC4\etc\python\grass.py", line 208, in parser<br>> os.execvp("g.parser", [name] + argv)<br><br></div>
<div class="im">> OSError: [Errno 2] No such file or directory<br><br></div>This is a known problem which has been fixed in SVN:<br><br> <a href="http://trac.osgeo.org/grass/changeset/37075" target="_blank">http://trac.osgeo.org/grass/changeset/37075</a><br>
<font color="#888888"><br>--<br>Glynn Clements <<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>><br></font></blockquote></div><br>