from easygui import * class User(EgStore): def __init__(self,filename): EgStore.__init__(self, filename) user = User("store.txt") user.user_name = "张三" user.password = "password" user.store() # print(user) user.restore() print(user)
123,34,114,111,111,116,34,58,34,95,67,82,89,79,95,82,69,70,95,48,34,44,34,114,101,102,101,114,101,110,99,101,115,34,58,91,123,34,99,111,110,116,101,110,116,115,34,58,123,34,102,105,108,101,110,97,109,101,34,58,34,115,116,111,114,101,46,116,120,116,34,44,34,117,115,101,114,95,110,97,109,101,34,58,34,229,188,160,228,184,137,34,44,34,112,97,115,115,119,111,114,100,34,58,34,112,97,115,115,119,111,114,100,34,125,44,34,118,97,108,117,101,34,58,34,95,67,82,89,79,95,79,66,74,69,67,84,95,34,125,93,125
settings
unfold_less visibility play_arrow