Naming Conventions
The proper (though not required) filename extension for a PYNDatabase is .pyndb
If saving to a JSON file, the prefix .json
should be used instead.
As of version 3.2.0, pyndb will now automatically set the filetype for you based on the file's extension. The recognized extensions and their filetypes are as follows:
- .pyndb → pickled
- .json → json
- .txt or .pydb → plaintext (.pydb is included here for greater backwards compatibility)
All other files default to a pickled filetype.
Fun fact: In earlier versions not released to the public, the project was named DataManager and did not use the Node structure. Thus the proper filename extension was
.pydb
. This is partially how the name pyndb came to be.
No Comments