[GRASS-user] python reserved word as parameter

Ang Sherpa angsherpa232 at gmail.com
Thu Mar 30 20:54:03 PDT 2017


It worked, Thanks.

*Best,*
*Ang Dawa Sherpa*


On Thu, Mar 30, 2017 at 8:26 PM, Micha Silver <tsvibar at gmail.com> wrote:

> Use: "from_"
>
>
>
> On 03/30/2017 05:27 PM, Ang Sherpa wrote:
>
> Hi users,
>
> While using "v.distance" in python script. The first parameter is "from"
> which is python reserved keyword and throws error: "There's error in your
> syntax"
>
> *v.distance* [-*pa*] *from*=*name* [*from_layer*=*string*] [*from_type*=
> *string*[,*string*,...]] *to*=*name* [*to_layer*=*string*] [*to_type*=
> *string*[,*string*,...]] [*output*=*name*] [*dmax*=*float*] [*dmin*=
> *float*] *upload*=*string*[,*string*,...] [*column*=*name*[,*name*,...]] [
> *to_column*=*name*] [*table*=*name*] [*separator*=*character*] [--
> *overwrite*] [--*help*] [--*verbose*] [--*quiet*] [--*ui*]
>
>
> Is there a way to resolve this issue?
>
> *Best,*
> *Ang Dawa Sherpa*
>
>
>
> _______________________________________________
> grass-user mailing listgrass-user at lists.osgeo.orghttps://lists.osgeo.org/mailman/listinfo/grass-user
>
>
> --
> Micha Silver
> cell: +972-523-665918
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20170331/729c8398/attachment-0001.html>


More information about the grass-user mailing list