Skip to content

Instantly share code, notes, and snippets.

@pkierski
Created October 3, 2017 20:30
Show Gist options
  • Select an option

  • Save pkierski/40317a59f80888f343af3d32d0af2f66 to your computer and use it in GitHub Desktop.

Select an option

Save pkierski/40317a59f80888f343af3d32d0af2f66 to your computer and use it in GitHub Desktop.
2hex conversion string generator
print '\n'.join([''.join(['{:02x}'.format(x) for x in range(16*r, 16*r+16)]) for r in range(16)])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment