On 7/13/21 3:02 PM, Rich Shepard wrote:
On Tue, 13 Jul 2021, Adrian Klaver wrote:
Triple quoting is used when the statement extends across more then one
line. Pair of double quotes is used for single line statement, especially
when there are single quoted values in the statement.
Adrian,
Tha
On Tue, 13 Jul 2021, Adrian Klaver wrote:
Triple quoting is used when the statement extends across more then one
line. Pair of double quotes is used for single line statement, especially
when there are single quoted values in the statement.
Adrian,
That makes sense: the statements are treated
On 7/13/21 1:09 PM, Rich Shepard wrote:
I'm starting to learn psycopg2 and have read the basic module usage doc.
Two
questions on syntax:
1) I've seen a number of psycopg2 cursor execute examples where the select
or insert statement is enclosed in a pydoc pair of three double quotes.
Most
exa
I'm starting to learn psycopg2 and have read the basic module usage doc. Two
questions on syntax:
1) I've seen a number of psycopg2 cursor execute examples where the select
or insert statement is enclosed in a pydoc pair of three double quotes. Most
examples in the basic module usage examples hav