#!/usr/bin/env python3 rr = open('read_me.doc', 'r', encoding='UTF-8') ww = open('scripts/junk', "w") for line in rr: if (line == " * C O N V E N T I O N S E T R È G L E S D E N O M M A G E - 2 0 2 4\n"): print(line) ww.write(line) rr.close() ww.close()