人言落日是天涯,望极天涯不见家 schrieb:
> Is there a simple function to generate a list like ['a', 'b', 'c', ...
> 'z']?   The range() just can generate the numeric list.

There is:
[ chr(i) for i in range(97, 123) ]

Thomas
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to