Python - string to hexbytes conversion - HELP!
dhhnews0 at hotmail.com
Thu Dec 6 20:34:20 EST 2001
Thanks to all that responded to my plea for help!
I now have several ways of approaching the problem
"me" <dhhnews0 at hotmail.com> wrote in message
news:HKvP7.17239$2Fd.11985 at news1.bloor.is...
> I'm a newbie to Python and I am trying
> to convert a string of decimal numbers - read from raw_input
> to a series of hexbytes
> if I do a read and get a='1234567'
> I need an equivalent string to be
> all this is to control a device from the serial port
> but I cannot seem to recall how to conver the input to my required output
> An hints or suggestion most appreciated! I've spend hours trying various
> built in's
> which I would prefer to use
More information about the Python-list