I am trying to convert binary value strings into ASCII values on Python 3. Let's say the letter 'l' in ASCII has a binary value of 01101100. If the '01101100' is represented as a string, how would you convert that string into the ASCII value in Base 10 form (108) into the ASCII character itself?
Asked
Active
Viewed 37 times
0
-
What does it matter that it’s ASCII? You’re just converting binary to decimal. – Davis Herring Feb 18 '18 at 02:36
-
Using `int('01101100', 2)` – cs95 Feb 18 '18 at 02:36