def save(self):
data = str.encode( json.dumps(self.simpleAttrs, indent=<NUM_LIT:4>, sort_keys=True) )<EOL>with open(self.filename, "<STR_LIT:wb>") as f:<EOL><INDENT>f.write(data)<EOL><DEDENT>
save PlayerRecord settings to disk