lol its in c
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

11 lines
235 B

import sys
c = 0
with open(sys.argv[1], "rb") as f:
while True:
b = f.read(1)
if len(b) == 0:
break
ws = " " if c < 31 else "\n"
c = (c + 1) % 32
print(f"{b[0]:02}{ws}", end="")