SyntaxFix
Write A Post
Hire A Developer
Questions
This will convert an integer to a 2 digit hex string with the 0x prefix:
strHex = "0x%0.2X" % 255