AW: [PythonCE] Shelve -- has anyone used it successfully?

Anthony Tuininga anthony.tuininga at
Wed Dec 8 21:41:30 CET 2004

I'm not sure if this is relevant but I thought I would throw it out as
information in case it is. If you wanted to use SQLite, I have
successfully built it for Windows CE and used it. It is a small
footprint, fast, limited feature RDBMS which is open source and
available for free.

On Wed, 8 Dec 2004 19:42:52 +0100, Anne Wangnick
<anne.wangnick at> wrote:
> I'm using dumbdbm, which comes in the Python CE distribution. It generates
> .dat, .dir & .bak files. However, I'm not using it as a shelve, but rather
> as a database. Actually, I'm generating the database on XP and then using it
> on CE.
> I believe that as dumbdbm is the only database module available on CE,
> will always fall back on it on CE.
> Can you try to use shelve.Shelf(,'c')) on XP to create
> the shelve and on CE to retrieve it?
> Regards,
> Sebastian Wangnick
> -----Ursprüngliche Nachricht-----
> Von: pythonce-bounces at [mailto:pythonce-bounces at]Im
> Auftrag von Mark Doukidis
> Gesendet: Mittwoch, 8. Dezember 2004 03:35
> An: Ron Phillips; PythonCE at
> Betreff: Re: [PythonCE] Shelve -- has anyone used it successfully?
> Hi Ron,
> I am about to give up on using "shelve" about now.
> My problem is that after a time I am getting a corrupted shelve.
> It probably is my own doing :(
> I cannot copy my XP generated shelve file to PocketPC because the
> PythonCE build does not include all the db modules.
> on XP i have one file generated, on CE I have 3 generated (.dat, .dir &
> .bak)
> on the XP shelve I tried this:
> >>> import whichdb
> >>> whichdb.whichdb("c:/testshelve")
> 'dbhash'
> on the CE shelve I get an empty string returned.
> So I figure if you want to use the same shelve across OSs you had
> better use the CE
> db (whatever that is).
> I must look into this futher myself.
> Hope this can give you a lead.
> Mark
> _______________________________________________
> PythonCE mailing list
> PythonCE at

More information about the PythonCE mailing list