editor for shelve files

D

David M. Cooke

Amir Michail said:
Hi,

Is there a program for editing shelve databases?

Amir

I doubt it. A shelf is basically just a file-based dictionary, where
the keys must be strings, while the values can be arbitrary objects.
An editor could handle the keys, but most likely not the values.

If you have an editor for arbitrary objects, you could probably make
an editor for shelfs easily enough :)

Do you have a specific use in mind? That would be easier to handle
than the general case.
 
A

Amir Michail

David said:
I doubt it. A shelf is basically just a file-based dictionary, where
the keys must be strings, while the values can be arbitrary objects.
An editor could handle the keys, but most likely not the values.

If you have an editor for arbitrary objects, you could probably make
an editor for shelfs easily enough :)

Do you have a specific use in mind? That would be easier to handle
than the general case.

Such an editor could at least handle some basic types including nested
lists and dictionaries.

I've written an application that uses many shelve files. Sometimes I
need to make a minor change to the data and don't really want to write
code just to make that change.

Amir
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,236
Messages
2,571,188
Members
47,822
Latest member
mariya234

Latest Threads

Top