SyntaxFix
Write A Post
Hire A Developer
Questions
Converting an int to a byte in Python 3:
n = 5 bytes( [n] ) >>> b'\x05'
;) guess that'll be better than messing around with strings
source: http://docs.python.org/3/library/stdtypes.html#binaryseq