Re: [GRASS-user] Running an external executable file from a Python Script

2011-03-10 Thread Ricardo Filipe Soares Garcia da
Hi (Olá) in order to figure out what is your current working folder (or active folder) you can do # python code import os os.getcwd() # end of code This will return a string with your current working folder. As Glyn is stating, if you are going to call this external binary from within a python

Re: [GRASS-user] Running an external executable file from a Python Script

2011-03-10 Thread Glynn Clements
António Rocha wrote: > My question is, when I'm running a GRASS python Script what is my active > folder in order to place there my Parameter file? Or, is there any way > to change my "active folder" while I'm running GRASS python Script? By "active folder", I presume that you're referring to

[GRASS-user] Running an external executable file from a Python Script

2011-03-10 Thread António Rocha
Greetings all, I have a python script from where I need to run an external binary (in Windows). This external binary (not developed by me) uses an input_parameter file to configure binary and get other parameters. The problem is that this binary requires that in my active folder I have my par