[GRASS-dev] python in windows?
hamish_b at yahoo.com
Fri Oct 2 20:08:06 EDT 2009
Michael Barton wrote:
> We have a python script that uses
> g_parser and runs find in Linux and Mac.
> We can get it to open but not to actually read
> the input argument from the GUI in
> Is there something special we need to do to make
> a GRASS Python script run in Windows?
this is a similar problem as NVIZ has from the wxGui File menu or wx
Is the script somewhere in the $PATH / %PATH% ?
maybe these hints from trac #580 can help ?
rem ...make .py extension optional
rem ...not sure, the following maybe does nothing
rem ...these are important
ftype Python.File="%GRASSDIR%\extrabin\python.exe" "%1" "%*"
ftype Python.NoConFile="%GRASSDIR%\extrabin\pythonw.exe" "%1" "%*"
More information about the grass-dev