Fastest way to detect a non-ASCII character in a list of strings.
Felipe Bastos Nunes
felipe.bastosn at gmail.com
Mon Oct 18 13:17:20 EDT 2010
Printable in the screen, all of them are, except for blank spaces ehhehehe
2010/10/18, Tim Chase <python.list at tim.thechases.com>:
> On 10/18/10 09:28, Grant Edwards wrote:
>> 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.
>
> I don't have a printer...that makes *all* characters unprintable,
> right? Now I can convert the algorithm to O(1)
>
> def is_printable(L):
> return False
>
> -tkc
>
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Felipe Bastos Nunes
More information about the Python-list
mailing list