title: How to declare array of zeros in python (or an array of a certain size)
body: <p>I am trying to build a histogram of counts... so I create buckets.
  I know I could just go through and append a bunch of zeros i.e something along these lines:</p>
  
  <pre><code>buckets = []
  for i in xrange(0,100):
      buckets.append(0)
  </code></pre>
  
  <p>Is there a  more elegant way to do it? I feel like there should be a way to just declare an array of a certain size.</p>
  
  <p>I know numpy has <code>numpy.zeros</code> but I want the more general solution</p>