def saveUserPreferences(self) :
'''
write user preferences into the related configuration file
'''
with open(self._userPrfesPathName, 'w') as outfile:
yaml.dump(self._userPrefs, outfile, default_flow_style=False)
文章目录