Check that a string contains only ASCII characters?
<p>How do I check that a string only contains ASCII characters in Python? Something like Ruby's <code>ascii_only?</code></p>

<p>I want to be able to tell whether string specific data read from file is in ascii</p>