1#!/usr/bin/env python3
2import sys
3
4with open(sys.argv[1], 'r') as file:
5    s = file.read()
6
7b = bytearray()
8b.extend(map(ord, s))
9
10for a in b: print(hex(a), end =", ")
11
12