How to Split a String

Siah siasookhteh at gmail.com
Fri Nov 30 17:04:41 EST 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.

Sia



More information about the Python-list mailing list