acid-drop- Hacking the planet from a LilyGo T-Deck using custom firmware |
git clone git://git.acid.vegas/acid-drop.git |
Log | Files | Refs | Archive | README | LICENSE |
filetohex.py (170B)
1 #!/usr/bin/env python3 2 import sys 3 4 with open(sys.argv[1], 'r') as file: 5 s = file.read() 6 7 b = bytearray() 8 b.extend(map(ord, s)) 9 10 for a in b: print(hex(a), end =", ") 11