<div dir="ltr">It worked, Thanks.<div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="font-size:12.8px"><b>Best,</b></div><div style="font-size:12.8px"><b>Ang Dawa Sherpa</b></div><div style="font-size:12.8px"><br></div></div></div></div>
<br><div class="gmail_quote">On Thu, Mar 30, 2017 at 8:26 PM, Micha Silver <span dir="ltr"><<a href="mailto:tsvibar@gmail.com" target="_blank">tsvibar@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="direction:ltr" text="#000000" bgcolor="#FFFFFF">
<p>Use: "from_"</p><div><div class="h5">
<p><br>
</p>
<br>
<div class="m_-6626628273160775652moz-cite-prefix">On 03/30/2017 05:27 PM, Ang Sherpa
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">Hi users,
<div><br>
</div>
<div>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"</div>
<div><br>
</div>
<div><b style="color:rgb(0,0,0);font-size:medium">v.distance</b><span style="color:rgb(0,0,0);font-size:medium"> [-</span><b style="color:rgb(0,0,0);font-size:medium">pa</b><span style="color:rgb(0,0,0);font-size:medium">] </span><b style="color:rgb(0,0,0);font-size:medium">from</b><span style="color:rgb(0,0,0);font-size:medium">=</span><em style="color:rgb(0,0,0);font-size:medium">name</em><span style="color:rgb(0,0,0);font-size:medium"> [</span><b style="color:rgb(0,0,0);font-size:medium">fr<wbr>om_layer</b><span style="color:rgb(0,0,0);font-size:medium">=</span><em style="color:rgb(0,0,0);font-size:medium">string</em><span style="color:rgb(0,0,0);font-size:medium">] [</span><b style="color:rgb(0,0,0);font-size:medium">from_type</b><span style="color:rgb(0,0,0);font-size:medium">=</span><em style="color:rgb(0,0,0);font-size:medium">string</em><span style="color:rgb(0,0,0);font-size:medium">[,</span><i style="color:rgb(0,0,0);font-size:medium">string</i><span style="color:rgb(0,0,0);font-size:medium">,...]<wbr>] </span><b style="color:rgb(0,0,0);font-size:medium">to</b><span style="color:rgb(0,0,0);font-size:medium">=</span><em style="color:rgb(0,0,0);font-size:medium">name</em><span style="color:rgb(0,0,0);font-size:medium"> [</span><b style="color:rgb(0,0,0);font-size:medium">to_layer</b><span style="color:rgb(0,0,0);font-size:medium">=</span><em style="color:rgb(0,0,0);font-size:medium">string</em><span style="color:rgb(0,0,0);font-size:medium">] [</span><b style="color:rgb(0,0,0);font-size:medium">to_type</b><span style="color:rgb(0,0,0);font-size:medium">=</span><em style="color:rgb(0,0,0);font-size:medium">string</em><span style="color:rgb(0,0,0);font-size:medium">[,</span><i style="color:rgb(0,0,0);font-size:medium">string</i><span style="color:rgb(0,0,0);font-size:medium">,...]] [</span><b style="color:rgb(0,0,0);font-size:medium">output</b><span style="color:rgb(0,0,0);font-size:medium">=</span><em style="color:rgb(0,0,0);font-size:medium">name</em><span style="color:rgb(0,0,0);font-size:medium">] [</span><b style="color:rgb(0,0,0);font-size:medium">dmax</b><span style="color:rgb(0,0,0);font-size:medium">=</span><em style="color:rgb(0,0,0);font-size:medium">float</em><span style="color:rgb(0,0,0);font-size:medium">] [</span><b style="color:rgb(0,0,0);font-size:medium">dmin</b><span style="color:rgb(0,0,0);font-size:medium">=</span><em style="color:rgb(0,0,0);font-size:medium">float</em><span style="color:rgb(0,0,0);font-size:medium">] </span><b style="color:rgb(0,0,0);font-size:medium">upload</b><span style="color:rgb(0,0,0);font-size:medium">=</span><em style="color:rgb(0,0,0);font-size:medium">string</em><span style="color:rgb(0,0,0);font-size:medium">[,</span><i style="color:rgb(0,0,0);font-size:medium">st<wbr>ring</i><span style="color:rgb(0,0,0);font-size:medium">,...] [</span><b style="color:rgb(0,0,0);font-size:medium">column</b><span style="color:rgb(0,0,0);font-size:medium">=</span><em style="color:rgb(0,0,0);font-size:medium">name</em><span style="color:rgb(0,0,0);font-size:medium">[,</span><i style="color:rgb(0,0,0);font-size:medium">name</i><span style="color:rgb(0,0,0);font-size:medium">,...]] [</span><b style="color:rgb(0,0,0);font-size:medium">to_column</b><span style="color:rgb(0,0,0);font-size:medium">=</span><em style="color:rgb(0,0,0);font-size:medium">name</em><span style="color:rgb(0,0,0);font-size:medium">] [</span><b style="color:rgb(0,0,0);font-size:medium">table</b><span style="color:rgb(0,0,0);font-size:medium">=</span><em style="color:rgb(0,0,0);font-size:medium">name</em><span style="color:rgb(0,0,0);font-size:medium">] [</span><b style="color:rgb(0,0,0);font-size:medium">separator</b><span style="color:rgb(0,0,0);font-size:medium">=</span><em style="color:rgb(0,0,0);font-size:medium">character</em><span style="color:rgb(0,0,0);font-size:medium">] [--</span><b style="color:rgb(0,0,0);font-size:medium">overwrite</b><span style="color:rgb(0,0,0);font-size:medium">] [--</span><b style="color:rgb(0,0,0);font-size:medium">help</b><span style="color:rgb(0,0,0);font-size:medium">] [--</span><b style="color:rgb(0,0,0);font-size:medium">verbose</b><span style="color:rgb(0,0,0);font-size:medium">] [--</span><b style="color:rgb(0,0,0);font-size:medium">quiet</b><span style="color:rgb(0,0,0);font-size:medium">] [--</span><b style="color:rgb(0,0,0);font-size:medium">ui</b><span style="color:rgb(0,0,0);font-size:medium">]</span><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Is there a way to resolve this issue?</div>
<div><br clear="all">
<div>
<div class="m_-6626628273160775652gmail_signature">
<div dir="ltr">
<div style="font-size:12.8px"><b>Best,</b></div>
<div style="font-size:12.8px"><b>Ang Dawa Sherpa</b></div>
<div style="font-size:12.8px"><br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="m_-6626628273160775652mimeAttachmentHeader"></fieldset>
<br>
</div></div><pre>______________________________<wbr>_________________
grass-user mailing list
<a class="m_-6626628273160775652moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a>
<a class="m_-6626628273160775652moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/grass-user</a></pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<pre class="m_-6626628273160775652moz-signature" cols="72">--
Micha Silver
cell: +972-523-665918</pre>
</font></span></div>
</blockquote></div><br></div></div>