選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

11 行
284B

  1. import sys
  2. def show(f):
  3. d=open(f,'rb').read()
  4. n=d[0]|d[1]<<8
  5. print(f,'len',n,'file',len(d))
  6. print('code:',d[2:2+n].hex(' '))
  7. t=d[2+n:]
  8. print('tail:',t.hex(' '))
  9. print('asc :',''.join(chr(b) if 32<=b<127 else '.' for b in t))
  10. for f in sys.argv[1:]: show(f)

Powered by TurnKey Linux.