Best method of saving data

前端 未结 5 1632
猫巷女王i
猫巷女王i 2020-11-28 12:16

I\'ve made a class in which I want to keep track of stats of students. I intend to make a GUI later to manipulate this data.

My main question is: what is the best wa

5条回答
  •  星月不相逢
    2020-11-28 13:00

    Use a database. SQLAlchemy with SQLight is a good start. You'll end up there in the end anyway.

    or

    Dump everything out with the pickle module. (there really isn't anything to understand, you save objects and then load them again, it's really simple).

提交回复
热议问题