import sys t = open(sys.argv[1]).read() print repr(t) print for c in t: print oct(ord(c))