def Dump(self):
prefs_file = open(self.prefs_path, '<STR_LIT:w>')<EOL>for n in range(<NUM_LIT:0>,len(self.prefs)):<EOL><INDENT>if len(list(self.prefs.items())[n]) > <NUM_LIT:1>:<EOL><INDENT>prefs_file.write(str(list(self.prefs.items())[n][<NUM_LIT:0>]) + '<STR_LIT>' +<EOL>str(list(self.prefs.items())[n][<NUM_LIT:1>]) + '<STR_LIT:\n>')<EOL><DEDENT><DEDENT>prefs_file.close()<EOL>
Dumps the current prefs to the preferences.txt file