Hi, I'm writing my first GRASS Python script and am having trouble adding options to commands that I want to run. For example, the following works: ----- grass.run_command("r.in.xyz", input=directory+'/'+file, output=rainraster, fs=',', x=2, y=1) -----
but this doesn't: ----- grass.run_command("r.in.xyz", --overwrite, input=directory+'/'+file, output=rainraster, fs=',', x=2, y=1) ----- neither does this: ----- grass.run_command("r.in.xyz --overwrite", input=directory+'/'+file, output=rainraster, fs=',', x=2, y=1) ----- How can I get this to work, or is there a better way of doing it using a command other than grass.run_command? Thanks Hanlie _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user