I'm writing a Telegram bot in a Flask web app (with webhook and telepot), and I've been searching for an easy way of having just a little of data persistency (storing a bunch of variables so that the bot remembers which level of a text-based puzzle game I'm in).
I've previously failed at writing files using Flask (see previous question here), and other solutions like creating an SQL database (or any of these) feel like a lot of new stuff just for a couple of variables.
There has to be an easier way... (hey, I found a cool one, please let me post the answer!)