0

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)?

azro
  • 47,041
  • 7
  • 30
  • 65
Parry Wang
  • 103
  • 7

0 Answers0