Help me with this code PLEASE

Mark Lawrence breamoreboy at yahoo.co.uk
Wed Nov 6 00:36:24 CET 2013


On 05/11/2013 22:31, Cameron Simpson wrote:
> On 05Nov2013 20:09, Nikos <nikos.gr33k at gmail.com> 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.
>

How do expect the OP to understand a BLOB or pickle or chutney when he 
doesn't understand why he can't iterate around a Nonetype object?

-- 
Python is the second best programming language in the world.
But the best has yet to be invented.  Christian Tismer

Mark Lawrence




More information about the Python-list mailing list