[GRASS-user] Call an external function from GRASS-Pythons Scripts
    Martin Landa 
    landa.martin at gmail.com
       
    Thu Apr 22 07:52:05 EDT 2010
    
    
  
Hi,
{please keep discussion on ML}
2010/4/22 Kim Besson <kimbesson1981 at gmail.com>:
> Bur for instance you separated two argument inside [ ]. This means that for
> instance If I need to call a external function and inser input and output I
> would have to do this:
> grass.call(['whoami', 'input_file', 'output_file']) or
> grass.call(['whoami input output_file'])
it's first argument 'args'.
Martin
PS: Probably it would be reasonable to change configuration of ML
(send replay to the list instead to 'from') to avoid this mistake.
-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
    
    
More information about the grass-user
mailing list