Hello,

Thank you all for your help.

On Tue, Dec 1, 2020 at 1:38 PM MRAB <pyt...@mrabarnett.plus.com> wrote:
> The bytes are all in the ASCII range, so you can convert it into a
> string using .decode('ascii').
I utilized encode and decode string methods to convert from bytes to strings

> And, of course, use parametrised queries, as ChrisA said.
I am using sqlite3 and it supports parameterized queries. Overall they
are better than constructing the sql statements manually.

Regards and thanks
rambius


-- 
Tangra Mega Rock: http://www.radiotangra.com
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to