Re: [GRASS-user] use pipe character in a script

2022-04-01 Thread Paulo van Breugel
On Fri, Apr 1, 2022 at 10:26 AM Paulo van Breugel wrote: > > > On Wed, Mar 23, 2022 at 8:59 AM Uwe Fischer wrote: > >> Hello, >> >> >> >> I try to fill a certain attribute column with a variable plus a Pipe >> character (|) in a python script: >> >> >> >> value_to_fillin = myvariable + '|' >> >>

Re: [GRASS-user] use pipe character in a script

2022-04-01 Thread Paulo van Breugel
On Wed, Mar 23, 2022 at 8:59 AM Uwe Fischer wrote: > Hello, > > > > I try to fill a certain attribute column with a variable plus a Pipe > character (|) in a python script: > > > > value_to_fillin = myvariable + '|' > > grass.run_command(‘v.db.update‘, map='mymap', column='mycol', > value=value_t

[GRASS-user] use pipe character in a script

2022-03-23 Thread Uwe Fischer
Hello, I try to fill a certain attribute column with a variable plus a Pipe character (|) in a python script: value_to_fillin = myvariable + '|' grass.run_command('v.db.update', map='mymap', column='mycol', value=value_to_fillin) But it does not work. When I try to place there 'xx'