![Module III - notes - MODULE III 3 READING AND WRITING FILES Files and File Paths, The os Module, The - Studocu Module III - notes - MODULE III 3 READING AND WRITING FILES Files and File Paths, The os Module, The - Studocu](https://d20ohkaloyme4g.cloudfront.net/img/document_thumbnails/4cb4a7fee48489fb6bae7ed680b9bba6/thumb_1200_1553.png)
Module III - notes - MODULE III 3 READING AND WRITING FILES Files and File Paths, The os Module, The - Studocu
![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
![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)