Nikos wrote: > grass.write_command('db.execute', input = '-', stdin = sql_coi_percent, > database = database, driver = driver) > -: No such file or directory 'db.execute input=-' for stdin only works in grass7. for 6.4+6.5 it is simpler, just omit the input option all together. Hamish