<html><body><div style="color:#000; background-color:#fff; font-family:garamond, new york, times, serif;font-size:12pt"><div><span style="font-family: garamond, 'new york', times, serif;"><span style="display: inline; float: none;">Hello, <br><br>I am running i.maxlik in python</span> - attempting to automate a processing chain.<br>I use the command:<br><br style="padding: 0px; margin: 0px;">grass.run_command('i.maxlik', group= group, subgroup=subgroup, class='classification', sigfile = sigfile, verbose = True)<br style="padding: 0px; margin: 0px;"><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16.363636016845703px; font-family: garamond, 'new york', times, serif; background-color: transparent; font-style: normal;"><span style="font-family: garamond, 'new york', times, serif;">Infuriatingly, however <span style="font-weight: bold;">'class'</span> is a python keyword and it doesn't run due to 'invalid syntax'.
  <br></span></div><div style="color: rgb(0, 0, 0); font-size: 16.363636016845703px; font-family: garamond, 'new york', times, serif; background-color: transparent; font-style: normal;"><span style="font-family: garamond, 'new york', times, serif;"><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16.363636016845703px; font-family: garamond, 'new york', times, serif; background-color: transparent; font-style: normal;"><span style="font-family: garamond, 'new york', times, serif;">Would you know a way to work around this?<br><br>Regards<br><br><span>Becky</span></span></div></div></body></html>