On Fri, Aug 22, 2008 at 6:02 PM, ssecorp <[EMAIL PROTECTED]> wrote: > .['a'..'z'] for a list of the alphabet. > > Is there a way in Python to generate chars?
Not as nice as in Haskell (or other languages), but: [chr(i) for i in xrange(ord('a'), ord('z')+1)] Regards -- http://mail.python.org/mailman/listinfo/python-list