[GRASS-user] Python placeholder (%d) in stdin statement of db.execute

Johannes Radinger johannesradinger at gmail.com
Wed Apr 10 10:03:03 PDT 2013


Hi,

I just tested it again and realized this problem is not related to the
placeholder
in the python code, but probably an other issue of my pythoncode line

nothing is update when use:
grass.write_command("db.execute", stdin = "UPDATE my points SET prob=100")

but using UPDATE my points SET prob=100 in the module GUI works as
mentioned  already before.

Has anyone experience in using db.execute in python with standard input in
GRASS7?

/Johannes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20130410/2bb8894f/attachment.html>


More information about the grass-user mailing list