[GRASS-user] set mutliple flags in python script

Johannes Radinger johannesradinger at gmail.com
Mon Apr 8 08:34:47 PDT 2013


I just wanted to know how to set mutliple flags when calling a module via
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?

Thank you for your answers!

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20130408/cf4a1de4/attachment.html>

More information about the grass-user mailing list