Fastest way to detect a non-ASCII character in a list of strings.
Tim Chase
python.list at tim.thechases.com
Mon Oct 18 12:02:43 EDT 2010
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
More information about the Python-list
mailing list