[Tutor] binary, ascii, steganography

Steven D'Aprano steve at pearwood.info
Sat Mar 19 07:32:35 CET 2011

jaco erasmus wrote:
> Thank you for the help, everyone.
> Like I said, I got the basics for my text file comparison, but my problem is
> with how to get binary to text, so your suggestions are greatly appreciated.
>  I'll get to it! (00000001 = a, 00000010 = b, ...)

 >>> int('01101110', 2)
 >>> chr(110)

Is that enough of a hint? :)


More information about the Tutor mailing list