Greg Krohn: > If it needs to be ASCII, the simplest way is probably: > > if ord(character) in range(65, 91): > <some code> or if character in string.ascii_uppercase: ... Andrew dalke at dalkescientific.com