1
0
mirror of https://github.com/osmarks/random-stuff synced 2024-06-24 12:53:16 +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(" ", "")))