Michael Barton wrote:

> This implies that it is now possible to create python scripts that run in 
> GRASS under windows??? 
> 
> That would be great news. Is there anything special that is needed for this 
> to work?

1. The Python interpreter (python.exe) needs to be in the PATH
2. Python needs to be associated with the .py extension
3. PATHEXT needs to include .py if you want to be able to omit the extension
4. PYTHONPATH needs to be set to %WINGISBASE%\etc\python

1-3 should be taken care of by the Python installer. 4 needs to be
done by the startup (currently, this doesn't appear to be the case on
Windows).

-- 
Glynn Clements <[email protected]>
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to