[GRASS-dev] parsing file paths in GRASS Scripts- Windows OS

2011-03-26 Thread Helmut Kudrnovsky
>Hi, > >2011/3/14 Monica Buescu <[monicabuescu1985 at gmail.com]>: >> AS far as I can see this is an error from WxPython for WinGRASS. I solution >> is to change the path that the "Browse" functionality produces. How can this >> be done? (I'm also interested in that because I do hjacve the same

Re: [GRASS-dev] parsing file paths in GRASS Scripts- Windows OS

2011-03-14 Thread Martin Landa
Hi, 2011/3/14 Monica Buescu : > AS far as I can see this is an error from WxPython for WinGRASS. I solution > is to change the path that the "Browse" functionality produces. How can this > be done? (I'm also interested in that because I do hjacve the same problem > with my students). please descr

[GRASS-dev] parsing file paths in GRASS Scripts- Windows OS

2011-03-14 Thread Monica Buescu
AS far as I can see this is an error from WxPython for WinGRASS. I solution is to change the path that the "Browse" functionality produces. How can this be done? (I'm also interested in that because I do hjacve the same problem with my students). Any suggestion? Gracias Monica

Re: [GRASS-dev] parsing file paths in GRASS Scripts- Windows OS

2011-03-14 Thread katrin eggert
Hi There I talked with Helmut, since he is an Win-GRASS expert user, and we have done this test with WinGRASS (Bash Scripts): r.out.xyz input= output=C:\delete\ai.txt If I run this in WinGRASS text mode it places the data in file c:\deleteai.txt (it ignores the '\' If I run this in WinGRASS text

Re: [GRASS-dev] parsing file paths in GRASS Scripts- Windows OS

2011-03-14 Thread katrin eggert
Hello Glynn First of all, thank you for replying to my emails... > Python accepts '\'. GRASS typically just passes filenames to the OS, > and Windows accepts '\'. > Yes you are right. But for instance, if I try to run r.out.xyz GRASS script (included in WiNGRASS standalone versions) like this:

Re: [GRASS-dev] parsing file paths in GRASS Scripts- Windows OS

2011-03-11 Thread Glynn Clements
katrin eggert wrote: > > > Everytime I try to run a Python Script in Windows, when I need to insert a > > > file path (e.g. D:\testing_ground) I need to change the \ for /. > > > > In what context? > > For instance imagine that I have a python script called r.landsat.py that > imports landsat im

Re: [GRASS-dev] parsing file paths in GRASS Scripts- Windows OS

2011-03-10 Thread katrin eggert
Hello Glynn First, Thanks for your attention and reply > > Everytime I try to run a Python Script in Windows, when I need to insert > a > > file path (e.g. D:\testing_ground) I need to change the \ for /. > > In what context? > > For instance imagine that I have a python script called r.landsat.p

Re: [GRASS-dev] parsing file paths in GRASS Scripts- Windows OS

2011-03-09 Thread Glynn Clements
katrin eggert wrote: > Everytime I try to run a Python Script in Windows, when I need to insert a > file path (e.g. D:\testing_ground) I need to change the \ for /. In what context? In Python string literals, the "\" character is used as an escape character, e.g. "\n" is newline. You need to us

[GRASS-dev] parsing file paths in GRASS Scripts- Windows OS

2011-03-08 Thread katrin eggert
Greetings Everytime I try to run a Python Script in Windows, when I need to insert a file path (e.g. D:\testing_ground) I need to change the \ for /. Of course this is not a problem for me but since I'm trying to put all my colleagues (40s-50 years old colleagues) from my bureau using GRASS and us