1
0
mirror of https://github.com/osmarks/random-stuff synced 2024-07-27 01:54:21 +00:00
random-stuff/unhex.py
2020-08-12 20:31:12 +01:00

13 lines
291 B
Python
Executable File

#!/usr/bin/env python3
import fileinput
import sys
def process_char(c):
return c + random.choice(zalgo)
for line in fileinput.input():
#b = bytes()
#for i in range(0, len(line), 2):
# b.appendline[i:i+2]
sys.stdout.buffer.write(bytes.fromhex(line.replace("\n", "").replace(" ", "")))