I use replace.py blahblah foo bar > something.txt

something.txt will only contain some irrelevant lines, but the essential information output by the script still comes to the screen (without colours). That's what I need in a file. (Something is in the log, but that one has a too complicated form with colour codes and everything that is in my way.)

--
BinĂ¡ris