How to persist data between executions in Python

后端 未结 6 804
栀梦
栀梦 2021-01-19 05:58

I am working on a personal project in Python where I need some form of persistent data. The data would fit in 2-3 tables of 10-20 columns and 100-200 records each. I have

6条回答
  •  难免孤独
    2021-01-19 06:19

    Or, if you just want to persist data between executions - for such a small data set you could have a look at the pickle module for persistency, and just load the data into memory during execution.

    It's a simple solution - but for a personal project it might be enough.

提交回复
热议问题