<div dir="ltr">Dear list members,<div>I know this is more a python question than a GRASS question, bot for sure some of you knows the ansewer and is able to help me....<br clear="all"><div><br></div><div>I need to get a python list with the maps from a group, like ["map1","map2","map"]</div><div><br></div><div>But by using gscript.read_command.... i get string, not a list.</div><div><br></div><div><div>gscript.read_command("i.group", group=groupname, flags="l" )</div><div>'group <LE72270902002150EDC00_toar> references the following raster maps\n-------------\n<LE72270902002150EDC00_toar.1@landsat> \n<LE72270902002150EDC00_toar.2@landsat> \n<LE72270902002150EDC00_toar.3@landsat> \n<LE72270902002150EDC00_toar.4@landsat> \n<LE72270902002150EDC00_toar.5@landsat> \n<LE72270902002150EDC00_toar.7@landsat> \n-------------\n'</div></div><div><br></div><div>Your help is appreciated! </div><div>Leo</div>-- <br><div class="gmail_signature"><div dir="ltr">Dr. Leonardo A. Hardtke <br>Laboratorio de Teledetección y S.I.G. <br>Centro Nacional Patagónico (CONICET) <br>Bvd. Brown 2825, 9120 <br>Puerto Madryn, Chubut, Argentina </div></div>
</div></div>