data open " data record value write record \ close (listing logging data to file [end of exampleexample read logged data from file open for record in \nprint record close (listing read logged data from file [end of example web resources below you find different useful resources for file handling python file handling schoolreading and writing files python org exercises below you find different self-paced exercises that you should go through and solve on your own the only way to learn python is to do lots of exercisesexercise data logging assume you have the following data you want to log to file as shown in table log these data to file create another python script that reads the same data