Convert hex to ASCII by mitchs

from os import*
while 1:x=int(read(0,3),16);write(1,(('\\x%02x','%c')[31<x<127]%x,'\\n\n')[x==10])

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page