On 18/04/11 11:52, vinod kumar wrote:
Hi Moritz Lennert,

How to execute script and where to type as i am new to python.

The best is to start reading the beginner's tutorial of python on python.org and the examples on the GRASS-Wiki page.

The easiest to try out python is to go to the GRASS command line and to launch Python there. You can then try out python code in real-time before putting it all into a text file and launching it as a script.

Moritz


I have installed grass6.4.

Thanks in advance,
nani.

On Mon, Apr 18, 2011 at 11:21 AM, Moritz Lennert
<[email protected] <mailto:[email protected]>> wrote:

    On 17/04/11 16:27, vinod kumar wrote:

        Hi All,

        I am having algorithm or psuedo code(consists of initialisation of
        parameters, conditions, comparing, etc.. ) of a program.
        how to execute these set of statements in Grass. Give me an example


    Writing a script in Python is probably your best bet. Start here:

    http://grass.osgeo.org/wiki/GRASS_and_Python

    Moritz




_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to