Checking for binary data in a string
Emile van Sebille
emile at fenx.com
Fri Jun 19 19:56:57 EDT 2009
On 6/19/2009 1:18 PM Mitko Haralanov said...
> I have a question about finding out whether a string contains binary
> The only other check that I can think of is to check every character in
> the read-in string against string.printable but that will take a long
Well, probably not really. Consider that CPU speeds dramatically
outperform network transport speeds such that by the time your local
performance becomes an issue, you've got a _huge_ xmlrpc argument to
pass over the wire...
More information about the Python-list