On 05Nov2013 20:09, Nikos <[email protected]> wrote: > O even better an rdbms than allows complex data such as tuples, > lists, dicts to be saved into the db as they are so i dont have to > cobvet back and forth each time.
If you're just using the db for storage or adhoc and arbitrary python objects (and not querying the stored values via SQL - eg WHERE), then: make a column of type BLOB, convert Python values to bytes using pickle, store. And of course the reverse. It is not a great use of an RDB, but it seems to adhere to what you ask. -- Cameron Simpson <[email protected]> -- https://mail.python.org/mailman/listinfo/python-list
