ASCII characters in my hex output

yaipa h. yaipa at yahoo.com
Tue Jan 6 22:50:23 EST 2004


Kelia,

Google,
  " binascii.hexlify " 

at 

  http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&group=comp.lang.python


If your converting a Basic program, I did the same and you can
find it by googling 'Eurotherm'.

  --yaipa

"nuvodido" <kelianichols at ssdd.nrl.navy.mil> wrote in message news:<mailman.115.1073335765.12720.python-list at python.org>...
> I am using pyserial to work with a device on my serial port.  the 
> output is a mixture of ASCII and hex: 
> 
> Ex.	'\x10\x00*'
> 
> 
> I need conver the \x00* nuber in to decimal.  Is there way to 
> convter this value striat forward?
> 
> 
> Thanks in advance
> Kelia Nichols
> ______________________________________
> No trees were killed in the sending of this message. However a large 
> number of electrons were terribly inconvenienced.



More information about the Python-list mailing list