<div dir="ltr">Dear Anna and Vaclav,<div><br></div><div>thanks a lot for your kind reply.</div><div><br></div><div>I tried to find grass.script to define de proper address where it is, or to copy this to my python/lib directory but I could'nt find.</div>
<div>I am using window 8.</div><div>Any hint are welcome.</div><div><br></div><div>best</div><div><br></div><div>milton</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014/1/17 Vaclav Petras <span dir="ltr"><<a href="mailto:wenzeslaus@gmail.com" target="_blank">wenzeslaus@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">On Fri, Jan 17, 2014 at 2:23 PM, Milton Ribeiro <span dir="ltr"><<a href="mailto:miltinho.astronauta@gmail.com" target="_blank">miltinho.astronauta@gmail.com</a>></span> wrote:<br>


</div><div class="im"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Dear all,<div><br></div>
<div>I would like to know if is there anyone using </div>

<div>WingIDE python editor to write python grass scripting.</div><div><br></div><div>I am using WingIDE under windows, but grass.scripting lib methods not autocomplete, and the help of grass.scripting not appears on WingIDE as for other libs of python.</div>



<div><br></div></div></blockquote></div><div>I'm not using WingIDE nor Windows, so I hope somebody else will reply, too.</div><div><br></div><div>However, (for several reasons) grass.script is not installed to the system (to the python installation), so you need to tell your IDE where to look for the grass.scripting. One possibility is to set PYTHONPATH environmental variable (which will then appear in sys.path in python) for the IDE:</div>


<div><br></div><div><a href="http://www.wingware.com/doc/intro/tutorial-python-path" target="_blank">http://www.wingware.com/doc/intro/tutorial-python-path</a><br></div><div><br></div><div>Maybe there is some settings even directly in the editor. The path should be set to the directory where grass.script, i.e. something like:</div>


<div><br></div><div>C:\path\to\grass\etc\python\</div><div><br></div><div>The way which works the best for me, on Ubuntu with Spyder Python IDE, is starting the editor from within the GRASS session (GRASS command line). This ensures that the environment is set right and you not only have the autocomplete and documentation but also that you can run your python GRASS scripts in the IDE. In theory, this should work the same on MS Windows.</div>


<div><br></div><div>Vaclav</div><div><br></div><div><br> best wishes</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im">

<div dir="ltr"><div><div><br></div>-- <br><div dir="ltr"><font style="font-family:arial,helvetica,sans-serif">Miltinho - <a href="mailto:mcr@rc.unesp.br" target="_blank">mcr@rc.unesp.br</a><br>Laboratório de Ecologia Espacial e Conservação - LEEC<br>



Depto de Ecologia - UNESP - Rio Claro<br>Av. 24A, 1515- Bela Vista<br>13506-900 Rio Claro, SP, Brasil<br><br><span style="color:rgb(0,0,255)"></span>Fone: <a href="tel:%2B55%2019%203526-9647" value="+551935269647" target="_blank">+55 19 3526-9647</a> (office)  19 3526-9680 (lab)<br>


Cel: 19 9853-3220 / 19 9853-5430<br>
<br>Depto Ecologia <a href="http://ib.rc.unesp.br/#!/departamentos/ecologia/" target="_blank">http://ib.rc.unesp.br/#!/departamentos/ecologia/</a><br>PG ECO & BIODIV <a href="http://ib.rc.unesp.br/#!/departamentos/ecologia/pos-graduacao-em-ecologia-e-biodiversidade/" target="_blank">http://ib.rc.unesp.br/#!/departamentos/ecologia/pos-graduacao-em-ecologia-e-biodiversidade/</a><br>



<br>CV
 
<a href="http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4792988H6&mostrarNroCitacoesISI=true&mostrarNroCitacoesScopus=true" target="_blank">http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4792988H6&mostrarNroCitacoesISI=true&mostrarNroCitacoesScopus=true</a><br>



<br>Google citations <a href="http://scholar.google.com/citations?user=OWX_2eAAAAAJ" target="_blank">http://scholar.google.com/citations?user=OWX_2eAAAAAJ</a></font></div>
</div></div>
<br></div><div class="im">_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br></div></blockquote></div><br></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><font style="font-family:arial,helvetica,sans-serif">Miltinho - <a href="mailto:mcr@rc.unesp.br" target="_blank">mcr@rc.unesp.br</a><br>Laboratório de Ecologia Espacial e Conservação - LEEC<br>
Depto de Ecologia - UNESP - Rio Claro<br>Av. 24A, 1515- Bela Vista<br>13506-900 Rio Claro, SP, Brasil<br><br><span style="color:rgb(0,0,255)"></span>Fone: +55 19 3526-9647 (office)  19 3526-9680 (lab)<br>Cel: 19 9853-3220 / 19 9853-5430<br>
<br>Depto Ecologia <a href="http://ib.rc.unesp.br/#!/departamentos/ecologia/" target="_blank">http://ib.rc.unesp.br/#!/departamentos/ecologia/</a><br>PG ECO & BIODIV <a href="http://ib.rc.unesp.br/#!/departamentos/ecologia/pos-graduacao-em-ecologia-e-biodiversidade/" target="_blank">http://ib.rc.unesp.br/#!/departamentos/ecologia/pos-graduacao-em-ecologia-e-biodiversidade/</a><br>
<br>CV
 
<a href="http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4792988H6&mostrarNroCitacoesISI=true&mostrarNroCitacoesScopus=true" target="_blank">http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4792988H6&mostrarNroCitacoesISI=true&mostrarNroCitacoesScopus=true</a><br>
<br>Google citations <a href="http://scholar.google.com/citations?user=OWX_2eAAAAAJ" target="_blank">http://scholar.google.com/citations?user=OWX_2eAAAAAJ</a></font></div>
</div>