(self, event)
return data
Given an event, return the lines of the event file
Given an event, return the lines of the event file
Given an event return the lines of the event file
def get_lines(self, event):
        """Given an event, return the lines of the event file"""
        with open(event.src_path, 'r') as f:
            data = f.read().split('\n')
        return data
def get_lines ( self , event ) : with open ( event . src_path , 'r' ) as f : data = f . read ( ) . split ( '\n' ) return data