Manipulating MySQL Sets

Victor Subervi victorsubervi at gmail.com
Sun Dec 13 10:48:45 EST 2009


On Sat, Dec 12, 2009 at 6:35 PM, Carsten Haese <carsten.haese at gmail.com>wrote:

> The traceback helpfully shows us that colValue is a 1-tuple whose zeroth
> entry, colValue[0], is an actual bona-fide Python Set object. Such
> objects aren't indexable, because sets are unordered. That still doesn't
> tell us where colValue is coming from, though, so why it is a Python Set
> object when you expected it to be a string remains an unsolved mystery.
>

Who said I was expecting a string? I don't know what I'm expecting! I need
to be able to parse this thing, whatever it is. You say it's a Python Set
object. How do I parse it? Googling has been disappointing.
TIA,
V
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091213/9b573dd6/attachment-0001.html>


More information about the Python-list mailing list