擅长:python、mysql、java
<p>您可以使用<a href="https://docs.python.org/2/library/pickle.html" rel="nofollow noreferrer">pickle</a>或<a href="http://json.org/" rel="nofollow noreferrer">json</a>或<a href="https://en.wikipedia.org/wiki/XML" rel="nofollow noreferrer">xml</a>。另见<a href="https://stackoverflow.com/questions/1047318/easiest-way-to-persist-a-data-structure-to-a-file-in-python">this</a>问题。或者<a href="https://stackoverflow.com/questions/4529815/saving-an-object-data-persistence-in-python?lq=1">this</a>一个。或者只是谷歌<a href="https://www.google.cz/webhp?ie=utf-8&oe=utf-8&gws_rd=cr&ei=lrfIVYfDEoa6UZKRjIAE#safe=off&q=python%20data%20persistence" rel="nofollow noreferrer">data persistence</a>。你知道吗</p>