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
  • 53,056
  • 7
  • 34
  • 70
Parry Wang
  • 115
  • 8

0 Answers0