SyntaxFix
Write A Post
Hire A Developer
Questions
If you have a numpy array, you can do the following:
>>> import numpy as np >>> a = np.array([133, 53, 234, 241]) >>> a.astype(np.uint8).data.hex() '8535eaf1'