Переписал изотерификатор в однострочник:
cat file.py | python3 -c "print('exec(' + '+'.join('chr(+(not(not())))' if not c else ('chr(+(not()))' if c == 1 else 'chr(' + '+'.join('(not())' for _ in range(c)) + ')') for c in __import__('sys').stdin.read().encode('raw_unicode_escape')) + ')')" | tee output.py