[Tutor] Iterate over letters in a word

Steve Nelson sanelson at gmail.com
Tue Mar 14 21:43:57 CET 2006


On 3/14/06, Danny Yoo <dyoo at hkn.eecs.berkeley.edu> wrote:

> The idea is to unpack four single characters as a single 4-byte integer.

That's really useful, thanks, as I was planning to iterate over each
letter and call ord()

> This kind of transformation is reversable:

Highly useful.  Thanks very much indeed.

> Does this make sense?

Absolutely.

S.


More information about the Tutor mailing list