I will like to know how can I write some data in a txt or rtf file but with some colour. The aim is the next:
I am reading txt files and looking for some words in them. Once I find the words, what i have to do is put them with different colours (its like selecting) and save them in a new txt or rtf file (could be the same as original file).
Im currently using Python 3.9.7.
Thank you so much!