On Fri, 22 Aug 2008 15:02:19 -0700 (PDT), ssecorp wrote: > In Haskell I can do [1..10] for range(1,11) and ['a'..'z'] for a list > of the alphabet. > > Is there a way in Python to generate chars?
It's not actually about generating anything, but why should one generate something if it's accessible anyway: import string print string.letters -- Regards, Wojtek Walczak, http://tosh.pl/gminick/ -- http://mail.python.org/mailman/listinfo/python-list