如果要序列化Python 物件,使用 pickle 模組會是比較好的方式, pickle 會記錄已經序列 ... def save(self, filename=None): self.check_filename(filename) fh = None ...
確定! 回上一頁