Ryan Krauss wrote:
> Is there an easy way to convert a shelved object back to a dictionary?
> When I save a dictionary using shelve and then load it in a later
> session, I have an object whose property names are the keys of the
> dictionary used as an input to shelve. For example, instead of
>
Is there an easy way to convert a shelved object back to a dictionary?
When I save a dictionary using shelve and then load it in a later
session, I have an object whose property names are the keys of the
dictionary used as an input to shelve. For example, instead of
user['name'] I have user.name.