[GRASS-dev] GUI menu item for running python (and other) scripts

I’m wondering if a way to make script running a bit easier–and even possible under windows–would be to make a menu item for it in the wxPython GUI? Would this help solve the problems of launching Python scripts?

Michael


C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
Tempe, AZ 85287-2402
USA

voice: 480-965-6262; fax: 480-965-7671
www: http://csdc.asu.edu, http://shesc.asu.edu
http://www.public.asu.edu/~cmbarton

Michael Barton wrote:

I'm wondering if a way to make script running a bit easier--and even
possible under windows--would be to make a menu item for it in the
wxPython GUI? Would this help solve the problems of launching Python
scripts?

The only case where running a Python script is more complex than
running a batch file is if the .py extension isn't configured
correctly. In that case, explicitly invoking it via $GRASS_PYTHON will
work even if running it directly doesn't.

But given that the supplied Python scripts will fail if the extension
isn't configured correctly, I'm not sure that there's much point.

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