Hi Moritz,<br><br>Thanks for providing information<br><br>nani<br><br><div class="gmail_quote">On Mon, Apr 18, 2011 at 4:44 PM, Moritz Lennert <span dir="ltr"><<a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.be</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 18/04/11 12:58, vinod kumar wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Moritz Lennert,<br>
<br><div class="im">
should i have to install python 2 or 3, i think during grass<br>
installation python files are already installed?<br>
</div></blockquote>
<br>
That depends on how you install GRASS. If you use the MS Windows standalone installer, yes.<br>
<br>
Moritz<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
Thanks nani<br>
<br>
On Mon, Apr 18, 2011 at 12:12 PM, Moritz Lennert<br></div><div class="im">
<<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a> <mailto:<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a>>> wrote:<br>
<br></div><div class="im">
On 18/04/11 11:52, vinod kumar wrote:<br>
<br>
Hi Moritz Lennert,<br>
<br>
How to execute script and where to type as i am new to python.<br>
<br>
<br>
The best is to start reading the beginner's tutorial of python on<br></div>
<a href="http://python.org" target="_blank">python.org</a> <<a href="http://python.org" target="_blank">http://python.org</a>> and the examples on the GRASS-Wiki page.<div class="im"><br>
<br>
The easiest to try out python is to go to the GRASS command line and<br>
to launch Python there. You can then try out python code in<br>
real-time before putting it all into a text file and launching it as<br>
a script.<br>
<br>
Moritz<br>
<br>
<br>
I have installed grass6.4.<br>
<br>
Thanks in advance,<br>
nani.<br>
<br>
On Mon, Apr 18, 2011 at 11:21 AM, Moritz Lennert<br>
<<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a><br>
<mailto:<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a>><br>
<mailto:<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a><br>
<mailto:<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a>>>> wrote:<br>
<br>
On 17/04/11 16:27, vinod kumar wrote:<br>
<br>
Hi All,<br>
<br>
I am having algorithm or psuedo code(consists of<br>
initialisation of<br>
parameters, conditions, comparing, etc.. ) of a program.<br>
how to execute these set of statements in Grass. Give me<br>
an example<br>
<br>
<br>
Writing a script in Python is probably your best bet. Start<br>
here:<br>
<br>
<a href="http://grass.osgeo.org/wiki/GRASS_and_Python" target="_blank">http://grass.osgeo.org/wiki/GRASS_and_Python</a><br>
<br>
Moritz<br>
<br>
<br>
<br>
<br>
<br>
</div></blockquote>
<br>
<br>
</blockquote></div><br>