0
Would it be possible to store all your Python files in the same directory, and achieve data persistence?
I’m trying to make a game that allows player to log in and continue where they left off, but that requires persistence. I’d also like all my Python files to be stored in the same directory so I can import custom modules and classes.
4 Réponses
+ 1
you can't have persistent data in Sololearn, not that I'm aware of. Perhaps others have a workaround.
Maybe if you are able to access an external database api where you can read and write data...
+ 1
Good idea!
0
pickle, sqlite, json... etc for data storage
venv, pyenv, poetry... etc for dependency management
0
I meant within the sololearn environment, not using a regular IDE