String substitution VS proper mysql escaping

Aahz aahz at
Sat Sep 4 15:10:32 CEST 2010

In article <bc70e108-f2ca-47b5-93d4-6911dfc3b814 at>,
=?UTF-8?B?zp3Or866zr/Pgg==?=  <nikos.the.gr33k at> wrote:
>After all () used to define tuples and [] usedd to define lists. Why

No, "()" does *not* define tuples, except for the empty tuple.  The comma
defines tuples, with parentheses simply used for visual effect:

>>> 1, 2, 3
(1, 2, 3)
Aahz (aahz at           <*>

"...if I were on life-support, I'd rather have it run by a Gameboy than a
Windows box."  --Cliff Wells

More information about the Python-list mailing list