title: What is the fastest way to initialize an integer array in python?
body: <p>Say I wanted to create an array (NOT list) of 1,000,000 twos in python, like this:</p>
  
  <p><code>array = [2, 2, 2, ...... , 2]</code></p>
  
  <p>What would be a fast but simple way of doing it?</p>