Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import binascii as bi
- a = -32.77
- print bi.b2a_hex(a)
- TypeErrorTraceback (most recent call last)
- <ipython-input-21-45d33b1939ce> in <module>()
- ----> 1 bi.b2a_hex(a)
- TypeError: b2a_hex() argument 1 must be string or buffer, not float
Add Comment
Please, Sign In to add comment