[GRASS-user] set mutliple flags in python script
Johannes Radinger
johannesradinger at gmail.com
Tue Apr 9 03:00:21 PDT 2013
Thank you Martin, the only way I haven't tried ;)
/johannes
On Mon, Apr 8, 2013 at 5:48 PM, Martin Landa <landa.martin at gmail.com> wrote:
> Hi,
>
> 2013/4/8 Johannes Radinger <johannesradinger at gmail.com>:
> > I just wanted to know how to set mutliple flags when calling a module via
> > python.
> > Eg when I use grass.run_command("r.modulename", flags=a b)
> > I tried:
> > 1) flags=["a","b"]
> > 2) flags="a,b"
> > 3) flags="a b"
> >
> > So how can I call a module with multiple flags set in python?
>
> flags = "ab"
>
> Martin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20130409/13677ffe/attachment.html>
More information about the grass-user
mailing list