SyntaxFix
Write A Post
Hire A Developer
Questions
Use format string
intNum = 123 print "0x%x"%(intNum)
or hex function.
hex
intNum = 123 print hex(intNum)