Python| Shelve as one more persistent object-like dictionary storage|
Автор: Wade Thornton
Загружено: 2021-12-12
Просмотров: 458
Описание:
#shorts
Shelve helps you to store
Warning Because the shelve module is backed by pickle, it is insecure to load a shelf from an untrusted source. Like with pickle, loading a shelf can execute arbitrary code.
Also:
1. Shelf has cache level when you pass writeback: true in open method.
2. When you want to sync cache data to file you need to call `sync` method.
3. `close` method also do syncing from cache to file.
Documentation reference: https://docs.python.org/3/library/she...
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: