Greetings!
I've a case where I need to put lines with both Indic and English Text
to a file ( and optionally to stdout):
# bash;
ml_text="മലയാളം"
en_text="Malayalam"
echo "$ml_text = $en_text" >> /tmp/output.txt
$ cat /tmp/output.txt
മലയാളം = Malayalam
That line above is what's I am trying to
On Jun 25, 2017 12:05 PM, "Danny Yoo" wrote:
As the other tutors have suggested, look into doing the SQL updates
directly, rather than format strings of SQL commands.
Ah, here's a good resource:
http://bobby-tables.com
Just to emphasize: the reason I'm pointing this out is to try to
counterba
As the other tutors have suggested, look into doing the SQL updates
directly, rather than format strings of SQL commands.
A major reason is because strings do not natively support the
representation of nested, grammatical things like sentences or SQL
commands. It's really easy to write a string f
Thanks Alan and Peter,
Alan you are right this could be solved via an SQL statement but I was
asked to finish the python script.
Anyways, this worked and helped to solve the problem in the end:
# Create iterator object, dictionary which can be used to iterate against.
b_iter = iter(new_emails)