title: python; struct; repeat count for 24-bit integers
body: <p>I want to unpack array of 2760 bytes, to new array of 920 24-bit integers. Unlike e.g. 16 bit integers, where would <code>struct.unpack_from('920h',array,0)</code> do the thing, you can't use 'repeat count' syntax with 24 bit integers:<br></p>
  
  <pre><code>struct.unpack_from('920&lt;i', array,0 )
  </code></pre>
  
  <p>This gives the following error: 'bad count in struct format'. <br></p>
  
  <p>So what's the syntax for 24 bit integers? I can't find anything in the documentation.</p>