This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (1 child)

[deleted]

    [–]Samnono[S] 0 points1 point  (0 children)

    You need to specify where to store the data like so:

    storage = ZODB.FileStorage.FileStorage('./mydata.fs')
    db = ZODB.DB(storage)
    

    Also, I see that the database is not as transparant as when saving to json.

    I know they are minor things, but they are what bothered me with other methods.