<br>Hi<div><br></div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
If I understand Glynn's comments correctly it won't work through the main<br>
build system, but for personal add-on scripts that's not the end of the<br>
world.<br>
<br></blockquote><div>That is exacly what I want. I have my winGRASS6.4 installation and I want to run/use some Python scripts. Just that...</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
the important things is that both the script and python.exe can be found<br>
in the path. You'll probably need to give your script a .py extension, and<br>
make sure that Windows associates .py with Python and knows to run them<br>
with python.exe. A web search will show a number of hits on how to do that,<br>
and there's a number of mostly untested attempts at it deep within the<br>
mswindows/ package installer scripts in the grass source code.<br>
<br></blockquote><div>I have browsed but I really didn't find anyone attempting having a python script in winGRASS6.4.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
If the .py filename extension stuff fails, maybe you could write a custom<br>
.bat file which launches "python your_script.py", something similar to what<br>
is done for the UNIX shell scripts that ship with WinGrass 6.x.<br></blockquote><div>YOu mean (e.g. my Script is called <a href="http://i.test.py">i.test.py</a></div><div>I should have a i.test.bat in bin folder and with the following?</div>
<div>@"%GRASS_SH%" -c '"%GISBASE%/scripts/<a href="http://i.test.py">i.test.py</a>" %*'</div><div>??</div><div>How can I know if ther python is in the path?</div><div><br></div><div>THanks</div>
<div>helena</div></div></div>