split up a list by condition?

Paul McGuire ptmcg at austin.rr.com
Tue Jun 7 16:29:47 EDT 2005


Re-run this with the input string "The quick brown fox is named
'Aloysius'." and we discover that 'A', 'y', "'" and '.' are also
consonants.  (Actually, this is bug-compatible with the OP's original
example.)

-- Paul




More information about the Python-list mailing list