title: how to create a list of c_ints and add element one at a time (python)
body: <p>Here is some code (from the docs):</p>
  
  <pre><code>IntArray5 = c_int * 5
  ia = IntArray5(5, 1, 7, 33, 99)
  </code></pre>
  
  <p>How can I do something like:</p>
  
  <pre><code>N = 5
  IntArrayN = c_int * N
  ian = IntArrayN
  ian.append(5)
  ian.append(1)
  ian.append(7)
  ian.append(33)
  ian.append(99)
  </code></pre>
  
  <p>So this raises an Attribute Error </p>