bsddb for simple database [very basic]

Artur Skura arturs at iidea.pl
Sun Aug 26 19:37:37 EDT 2001


Ignacio Vazquez-Abrams wrote:
>On 26 Aug 2001, Artur Skura wrote:
>> etc, I will just have standard dictionary pairs, with strings.
>> I need records. How do I do that?
>
>"Keys and values must be strings, however, so to use other objects as keys or
>to store other kinds of objects the user must serialize them somehow,
>typically using marshal.dumps or pickle.dumps."
>
>You wanted very simple database functionality, you found it. Anything more
>complex is up to you.
 
OK, I will use dumps/loads. I just thought there might be a more
transparent way, maybe with another db module.

Regards,
Artur
-- 
http://www.wolneprogramy.org
.
.
.
Klub Piątej Linijki w Sygnaturce



More information about the Python-list mailing list