MCPcopy Index your code
hub / github.com/PySimpleGUI/PySimpleGUI / write_new_dictionary

Method write_new_dictionary

PySimpleGUI/PySimpleGUI.py:22706–22716  ·  view source on GitHub ↗

Writes a specified dictionary to the currently defined settings filename. :param settings_dict: The dictionary to be written to the currently defined settings file :type settings_dict: (dict)

(self, settings_dict)

Source from the content-addressed store, hash-verified

22704 self.dict = {}
22705
22706 def write_new_dictionary(self, settings_dict):
22707 """
22708 Writes a specified dictionary to the currently defined settings filename.
22709
22710 :param settings_dict: The dictionary to be written to the currently defined settings file
22711 :type settings_dict: (dict)
22712 """
22713 if self.full_filename is None:
22714 self.set_location()
22715 self.dict = settings_dict
22716 self.save()
22717
22718 def read(self):
22719 """

Callers 1

Calls 2

set_locationMethod · 0.95
saveMethod · 0.95

Tested by

no test coverage detected