[GRASS-dev] equivalent to G_option_to_separator in grass.script ?

Is there an equivalent to the C function G_option_to_separator() in the python script library ?

Or do I have to use pygrass with the ctypes access ?

Moritz

On Fri, Feb 12, 2016 at 12:45 PM, Moritz Lennert <
mlennert@club.worldonline.be> wrote:

Is there an equivalent to the C function G_option_to_separator() in the
python script library ?

Or do I have to use pygrass with the ctypes access ?

Do you mean this?
https://trac.osgeo.org/grass/browser/grass/trunk/lib/python/script/utils.py#L42

Anna

Moritz
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

On 12/02/16 20:33, Anna Petrášová wrote:

On Fri, Feb 12, 2016 at 12:45 PM, Moritz Lennert
<mlennert@club.worldonline.be <mailto:mlennert@club.worldonline.be>> wrote:

    Is there an equivalent to the C function G_option_to_separator() in
    the python script library ?

    Or do I have to use pygrass with the ctypes access ?

Do you mean this?
https://trac.osgeo.org/grass/browser/grass/trunk/lib/python/script/utils.py#L42

Exactly ! Must have been blind...

Thanks a lot !

Moritz