[GRASS-user] python reserved word as parameter
Ang Sherpa
angsherpa232 at gmail.com
Thu Mar 30 07:27:01 PDT 2017
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*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20170330/08c1d553/attachment.html>
More information about the grass-user
mailing list