On 2010-10-18, Steven D'Aprano <steve-remove-t...@cybersource.com.au> wrote:
> Neither is accurate. all_ascii would be: > > all(ord(c) <= 127 for c in string for string in L) Definitely. > all_printable would be considerably harder. As far as I can tell, there's > no simple way to tell if a character is printable. There's no easy way to even define what "printable" means. Ask three different people, and you'll get at least four different answers answers. -- Grant Edwards grant.b.edwards Yow! If elected, Zippy at pledges to each and every gmail.com American a 55-year-old houseboy ... -- http://mail.python.org/mailman/listinfo/python-list