Ask coding questions

← Back to all posts
Save file changes even when offline?
jeanenchanted (33)

I'm currently using a JSON database for my app, but when I'm offline the changes don't save. Is there a way to save them even when I'm offline?

Also, I'm using Python

I found this on google. It's exactly what I needed except for one thing: it uses JavaScript instead of python.

Coder100 (19279)

Try using the replit database instead and store your strings there for more persistent.

jeanenchanted (33)

@Coder100 I want to use a json database since it's way easier and I tend to debug on VSCode