title: How to shift bits in a 2-5 byte long bytes object in python?
body: <p>I am trying to extract data out of a byte object. For example:
  From <code>b'\x93\x4c\x00'</code> my integer hides from bit 8 to 21.
  I tried to do <code>bytes &gt;&gt; 3</code> but that isn't possible with more than one byte.
  I also tried to solve this with struct but the byte object must have a specific length.</p>
  
  <p>How can I shift the bits to the right?</p>