Reloading/retrieving the data from the file
To reload the data from the file, use the following method:
File.reload()
This method is only 1 line of code:
self.data = self.read_data()
The read_data
method returns the data stored in the file, after being parsed into a python dictionary.
No Comments