Re: bsddb for simple database [very basic]
by Artur Skura other posts by this author
Aug 26 2001 11:37PM messages near this date
Re: Text Formating in Python
|
Re: bsddb for simple database [very basic]
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
--
http://mail.python.org/mailman/listinfo/python-list
Thread:
Artur Skura
Skip Montanaro
|