Filtering out non-readable characters

Michael Ströder michael at stroeder.com
Mon Jul 18 09:22:18 EDT 2005


Peter Hansen wrote:
>>>> ''.join(chr(c) for c in range(65, 91))
> 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'

Wouldn't this be a candidate for making the Python language stricter?

Do you remember old Python versions treating l.append(n1,n2) the same
way like l.append((n1,n2)). I'm glad this is forbidden now.

Ciao, Michael.



More information about the Python-list mailing list