in this case “for match in line” is not going work. In order to read a block of content you need to assign the whole file’s data to variable as in the example below with data = (). Also read_line variable is introduced which let’s you decide on which type of parsing you want to use. If value is set to True script is going to parse by line

Frequently Asked Questions about Sometimes you need to parse more than one line

Leave a Reply

Your email address will not be published. Required fields are marked *