![python - I set db_ID_1 to '0' with shelve module like pickle module.. i print db_ID_1 and it = 0 but when I do... IF db_ID_1 != '0': .. it think it isn't 0 - Stack Overflow python - I set db_ID_1 to '0' with shelve module like pickle module.. i print db_ID_1 and it = 0 but when I do... IF db_ID_1 != '0': .. it think it isn't 0 - Stack Overflow](https://i.stack.imgur.com/jmjQD.png)
python - I set db_ID_1 to '0' with shelve module like pickle module.. i print db_ID_1 and it = 0 but when I do... IF db_ID_1 != '0': .. it think it isn't 0 - Stack Overflow
![pickle module, marshal module, shelve module, dbm package, data persistence, serialization in python pickle module, marshal module, shelve module, dbm package, data persistence, serialization in python](https://i.ytimg.com/vi/JZVd0zXzxCI/maxresdefault.jpg)
pickle module, marshal module, shelve module, dbm package, data persistence, serialization in python
![Saving with json vs. Shelve files. What are the differences between the two pros/cons? : r/learnpython Saving with json vs. Shelve files. What are the differences between the two pros/cons? : r/learnpython](https://styles.redditmedia.com/t5_2r8ot/styles/communityIcon_jwr5s7l5ici61.png)
Saving with json vs. Shelve files. What are the differences between the two pros/cons? : r/learnpython
![I use shelve to create save files for my game, but every once in a while the files get corrupted. Anyway to fix or reduce this issue? : r/Python I use shelve to create save files for my game, but every once in a while the files get corrupted. Anyway to fix or reduce this issue? : r/Python](https://styles.redditmedia.com/t5_2qh0y/styles/communityIcon_cifehl4xt7nc1.png)