How to Convert a string into binary

Fredrik Lundh fredrik at pythonware.com
Sat Apr 15 16:41:43 EDT 2006


"HNT20" <hnt20 at msn.com> wrote:

> i am new to python language. i am working on a gnuradio project where it
> uses python as the primary programming language. i am trying to convert
> a message, text, or numbers into binary code so that i can process it.

umm.  characters and numbers are stored in binary code, inside your com-
puter.  what exactly makes you think you have to convert them to binary
strings in order to process them ?

</F>






More information about the Python-list mailing list