Files
Binx/src/tools/bit7ify.py

9 lines
195 B
Python
Raw Normal View History

2019-04-28 19:38:16 +02:00
#!/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())))