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