Jeff Schwab wrote: > [EMAIL PROTECTED] wrote: > > Jeff Schwab wrote: > > > >>What's the best way to generate a sequence of characters in Python? I'm > >>looking for something like this Perl code: 'a' .. 'z' . > > > > > >>>>import string > > > > > >>>>print string.ascii_lowercase > > > > abcdefghijklmnopqrstuvwxyz > > Thanks. Is there a good way to generate the characters dynamically?
''.join([chr(i) for i in range(97,123)]) -- http://mail.python.org/mailman/listinfo/python-list