Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> heh = '0x69 0x27 0x6d 0x20 0x67 0x6f 0x6e 0x6e 0x61 0x20 0x66 0x69 0x67 0x68 0x74 0x20 0x69 0x6a 0x6f 0x6e'.split()
- >>> heh2 = []
- >>>
- >>> for i in heh:
- ... xpos = i.find("x")
- ... if xpos != -1: i = i[xpos+1:]
- ... heh2.append(chr(int(i, 16)))
- ...
- >>> print("".join(heh2))
- i'm gonna fight ijon
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement