Hamish wrote:

> r.resamp.bspline uses 'lambda' as a command line parameter name, but when
> you try to use it with grass.run_command() you get an error as lambda is
> a python reserved keyword. How to work around that?

Prepend an underscore to the name, i.e.:

        grass.run_command('r.resamp.bspline', _lambda = ...)

-- 
Glynn Clements <gl...@gclements.plus.com>
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to