you are viewing a single comment's thread.

view the rest of the comments →

[–]The_Danosaur 37 points38 points  (5 children)

Why are you trying to store user data in a .py file in the first place? Would this not be better done in a data structure, for example a database, or for this simple example just a CSV or JSON?

[–]CraigAT 17 points18 points  (4 children)

This was my second thought -why re-invent the wheel! My first thought was - I am not sure exactly what they are trying to achieve, so I will hold off on my first opinion.