Hex Tool
Convert data between hexadecimal and other formats. Use for debugging binary data, examining file headers, and working with hex dumps.
Documentation & Preview
#!/usr/bin/env python3 import sys data = open(sys.argv[1], 'rb').read() if sys.argv[1:] else sys.stdin.buffer.read() print(data.hex())