String algo

nipun batra nipunreddevil at gmail.com
Sun Aug 9 13:03:04 CEST 2009


I will be receiving data serially from another pc,.i can use any sort of
marker between two packets,i will be the person sending data as well after
reading it from some devices.But packet length is not constant.
each packet has this format:
201.535a56.65b4.56c89.565d
another packet could be :
4a5b6c7d
What i need is a program to store variables such as:var_a has value 4,var_b
has value 5,for second string.
I have to read and write data continuosly using serial port.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090809/98361d74/attachment.html>


More information about the Python-list mailing list