[GRASS-user] retrieving a GRASS-python script return values

katrin eggert katrineggert1980 at gmail.com
Wed Feb 9 09:01:49 EST 2011


Greetings

I have built a GRASSPy Script to read a few text files (r.in.text.py)
At the end of the file I do a return of a list of integers with:
values=[1,2,4,5,6,43,32,553,2]

return values

My question is: I have another GRASS python script that and I want to call
r.in.text.py to get these values.
What GRASS python functionality shall i use to retrieve these values? (I
suppose grass.run_command is not a good idea).

THanks
Kat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20110209/11bbf8cf/attachment.html


More information about the grass-user mailing list