Files
Binx/src/tools/bit7ify.py
2019-04-28 19:38:16 +02:00

9 lines
195 B
Python

#!/usr/bin/env python3
from sys import argv
with open(argv[1], "rb") as input:
with open(argv[2], "wb") as output:
output.write(bytes((byte ^ 0x80 for byte in input.read())))