How to Split a String

Siah siasookhteh at
Fri Nov 30 23:04:41 CET 2007

> I hope you don't use Python to access the database, get a tuple back,
> convert it to a string and then try to break up that string into a list!?

Sadly, that is the case. Well, kinda. I'm using psycopg2 to access
postgresql, which is great. Though postgres has more features than
psycopg2 supports, such as nested arrays within a row, that psycopg2
provides to me as a string, which leaves it to me to try to make sense
out of it. I hate it, its dirty and uncool, but oh well.


More information about the Python-list mailing list