Is there an existing library that can directly convert a binary in string format to a real binary object in Python?
For example, how to convert '1100'
(string) to '0b1100'
(byte)?
Is there an existing library that can directly convert a binary in string format to a real binary object in Python?
For example, how to convert '1100'
(string) to '0b1100'
(byte)?