question about binary and serial info

Grant Edwards grante at
Thu Aug 18 18:48:49 CEST 2005

On 2005-08-18, nephish at <nephish at> wrote:

> i got the bitwise part, i just cant seem to convert the
> incomming ascii into hex, binary, integer, or decimal.

So you've got an ASCII string in one format and you want to
convert into an ASCII string in a different format?  

For example you want to convert the string "FF" into the string "255"?

> how do i do this, my serial port bytes just come in all weird
> looking ascii characters

Grant Edwards                   grante             Yow!  It's OKAY -- I'm an
                                  at               INTELLECTUAL, too.

More information about the Python-list mailing list