Python binary 3 byte integers
<p>How can I read 3 bytes as an integer?</p>

<p>Does struct module provide something like that?</p>

<p>I can read in 3 bytes and add an extra \x00 and then interpret it as a 4-byte integer, but that seems unnecessary.</p>
