Skip to content

Instantly share code, notes, and snippets.

@kohnakagawa
Created February 13, 2020 04:47
Show Gist options
  • Select an option

  • Save kohnakagawa/2fc4a4e82883178773cb82570419d9db to your computer and use it in GitHub Desktop.

Select an option

Save kohnakagawa/2fc4a4e82883178773cb82570419d9db to your computer and use it in GitHub Desktop.
a = [0x00, 0x10, 0x00, 0x00, 0xc0, 0xa1, 0x00, 0x00]
print("".join("{0:02x}".format(i) for i in a))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment