<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def generate_diary(self):
 """ extracts event information from core tables into diary files """

        print('Generate diary files from Event rows only')
        for r in self.table:
            print(str(type(r)) + ' = ', r)