Return to Snippet

Revision: 6317
at May 15, 2008 23:41 by ishikawa


Initial Code
import array
for byte in array.array('B', "ABCDEFG"):
  print byte # prints 65, 66, 67, 68, ... and so on.

Initial URL

                                

Initial Description

                                

Initial Title
iterates over the bytes of string

Initial Tags
python

Initial Language
Python