[GRASS-dev] pygrass and shorten parameters

Anna Petrášová kratochanna at gmail.com
Wed Oct 22 12:15:56 PDT 2014


On Wed, Oct 22, 2014 at 11:40 AM, Martin Landa <landa.martin at gmail.com>
wrote:

> 2014-10-22 17:36 GMT+02:00 Pietro <peter.zamb at gmail.com>:
>
> >> Any chance to change this behaviour?
> >
> > Actually I don't like the idea of shorten parameters... :-)
> > So I wont fix this.
>
> well, pyGRASS should behave similarly to GRASS parser which allows
> shorten options. It's not question of personal preferences I would say
> ;-)
>

I don't think shortening should be supported in pygrass. Short names are
convenient when typing the commands in shell. Pygrass is more for scripting
so short names are not such an advantage, the opposite I would say. And
it's not pythonic at all, so it could confuse people with Python background.

Anna


> Martin
>
> --
> Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20141022/baad0eea/attachment.html>


More information about the grass-dev mailing list