В Воскресенье, 15 апр. 2018 в 10:47 , George Fischhof <george at fischhof.hu> написал: > https://docs.python.org/3/library/fileinput.html Thanks, it works https://github.com/worldmind/scripts/blob/master/filerewrite/fileinputtest.py but looks like that way only for line by line processing