shorten this: if char in "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz":

cirfu circularfunc at yahoo.se
Tue Jun 24 20:32:23 CEST 2008


if char in "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz":

cant i write something like:
if char in "[A-Za-z]":

?



More information about the Python-list mailing list