hi list, i have a long stream of data, represented in hexadecimal form. I need to split it in bytes (by 2 chars each). eg '00010203040506'... -> ['00', '01, '02' ...]. So my question is: is there an inverse function of zip, or an easy way to split this long string in pairs (without indexing in cycle, nor regexpr.)?
Emily ----------------------------- SCENA - Единственото БЕЗПЛАТНО списание за мобилни комуникации и технологии. http://www.bgscena.com/ _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor