Restore values from a previous call to SaveToDisk which saves the returned values dictionary in Pickle format :param filename: Pickle Filename to load :type filename: (str)
(self, filename)
| 11199 | print('*** Error saving Window contents to disk ***') |
| 11200 | |
| 11201 | def load_from_disk(self, filename): |
| 11202 | """ |
| 11203 | Restore values from a previous call to SaveToDisk which saves the returned values dictionary in Pickle format |
| 11204 | |
| 11205 | :param filename: Pickle Filename to load |
| 11206 | :type filename: (str) |
| 11207 | """ |
| 11208 | try: |
| 11209 | with open(filename, 'rb') as df: |
| 11210 | self.Fill(pickle.load(df)) |
| 11211 | except: |
| 11212 | print('*** Error loading form to disk ***') |
| 11213 | |
| 11214 | def get_screen_dimensions(self): |
| 11215 | """ |