I am looking for basically the exact same thing as this question but in Python.
How can I obtain the bytes in memory of a single-precision floating point variable in Python? For instance if I have a variable x = 0.65
I need to get some form of the list [97, 102, 38, 63]
.