[GRASS-user] Call an external function from GRASS-Pythons Scripts

Kim Besson kimbesson1981 at gmail.com
Thu Apr 22 07:56:36 EDT 2010


Here now at the ML for everyone :)
But which one of the two options is correct? The first one or the second
one? Or both are ok? (at least the second one is correct I suppose)

2010/4/22 Martin Landa <landa.martin at gmail.com>

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100422/ad192e4c/attachment.html


More information about the grass-user mailing list