[GRASS-dev] how to deal with a python keyword as a module option
name?
Hamish
hamish_b at yahoo.com
Tue Feb 14 23:10:36 EST 2012
Hi,
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?
(also it would be nice if v.surf.bspline and r.resamp.bspline could have the
same choice for sie,se sin,sn and lambda_i,lambda option key names in trunk)
thanks,
Hamish
More information about the grass-dev
mailing list