On Thu, Sep 13, 2012 at 2:07 AM, Pierre Roudier
<[email protected]> wrote:
> Hi all,
>
> This might be very simple, but I can't find an answer in the doco - so
> here I am,
>
> I'm trying to pass several floats to a single option in a Python script:
>
>> python my.module.py input=input output=output myoption=0.1,0.2,0.5
>
> Is there a clever way to declare myoption so that it would parse it as
> some 3 floats?

Add

#% multiple : yes

to the option definition section of myoption.

Markus M
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to