New user questions
От
Rich Shepard
Тема
New user questions
Дата
Msg-id
alpine.LNX.2.20.2107131228540.11509@salmo.appl-ecosys.com
Список
Дерево обсуждения
New user questions Rich Shepard <rshepard@appl-ecosys.com>
Re: New user questions Adrian Klaver <adrian.klaver@aklaver.com>
Re: New user questions Rich Shepard <rshepard@appl-ecosys.com>
Re: New user questions Adrian Klaver <adrian.klaver@aklaver.com>
Re: New user questions Rich Shepard <rshepard@appl-ecosys.com>
RE: New user questions David Raymond <David.Raymond@tomtom.com>
RE: New user questions Rich Shepard <rshepard@appl-ecosys.com>
Re: New user questions Adrian Klaver <adrian.klaver@aklaver.com>
Re: New user questions Adrian Klaver <adrian.klaver@aklaver.com>
Re: New user questions Rich Shepard <rshepard@appl-ecosys.com>
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 have a single pair of double quotes enclosing the statement; the named variable examples are exceptions. Is there a general rule when to use triple double quotes and when to use single double quotes? 2) How do I write a cursor execute UPDATE statement where the columns and values to be updated can be single or multiple and the values passed into the method from the tkinter widgets? Are there examples from which I can learn? Regards, Rich
В списке psycopg по дате отправления