[GRASS-dev] Python handling in winGRASS7 [was: Re: GRASS GIS 7 tech-preview release preparations]

Glynn Clements glynn at gclements.plus.com
Fri Jul 26 11:09:22 PDT 2013


Moritz Lennert wrote:

> - Another issue is how to make it possible in windows to launch modules 
> that are Python scripts by simply calling their module name, without .py 
> extension. At this stage, in a fresh installation of GRASS7 on WinXP, I 
> can launch (and successfully execute) python scripts from the wxGUI menu 
> or the wxGUI command console, but not from the windows terminal. 
> However, calling a script from a script (e.g. v.db.dropcolumn called 
> from v.db.renamecolumn) does not work.

To execute scripts without providing an extension, PATHEXT must
include ".PY".

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list