<html style="direction: ltr;">
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body style="direction: ltr;" text="#000000" bgcolor="#FFFFFF">
    <p>Use: "from_"</p>
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 03/30/2017 05:27 PM, Ang Sherpa
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAKD0cnqrcL=aoxK36xLneEb7PppPHE-FT3rxMfvxDFy4+4b2vg@mail.gmail.com"
      type="cite">
      <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">from_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">,...]] </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">string</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="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>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a></pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Micha Silver
cell: +972-523-665918</pre>
  </body>
</html>