filter.py 213 B

123456789
  1. def main(line_no):
  2. delta = 30
  3. with open('temp/not_well_formed2.xml', 'r') as frh:
  4. res = frh.read()
  5. print(res[line_no - delta:line_no + delta])
  6. if __name__ == '__main__':
  7. main(490150)