title: Structure with attribute like-c in Python
body: <p>I want to create something like structure in C but in Python. Specifically I want to sth like that:</p>
  <pre><code>typedef struct __attribute__((__packed__)) 
  {
      float x[4];
      uint8 y;
      int z;
  } structName;
  </code></pre>
  <p>in Python. I read somewhere that I can use named tuple but want to avoid padding and I don't know how to do it in Python. Can anyone show me how to do that? I will use it in UDP communication.</p>