binary to text python

Solutions on MaxInterview for binary to text python by the best coders in the world

showing results for - "binary to text python"
Rickey
07 Jan 2019
1a_binary_string = "01100001 01100010 01100011"
2ascii_string = "".join([chr(int(binary, 2)) for binary in a_binary_string.split(" ")])
3# ascii_string = "abc"