title: Memory error occurring when generating a list of passwords
body: <p>I'm attempting to generate all the possible passwords with lengths between 1-5 characters, where the possible characters are the lowercase alphabet, uppercase alphabet and 10 digits.</p>
  
  <p>For the sake of keeping things simple, I'm restricting the possible characters to just the lowercase alphabet and the ten digits, and the lengths of the passwords to just 3-5 characters.</p>
  
  <pre class="lang-py prettyprint-override"><code>import itertools
  charMix = list("abcdefghijklmnopqrstuvwxyz1234567890")
  mix = []
  for length in range(3, 6):
     temp = [''.join(p) for p in itertools.product(charMix, repeat=length)]
     mix.append(temp)
  </code></pre>
  
  <p>However, I'm running into memory errors on the <code>temp</code> assignment line and don't know how to overcome them <code>:(</code></p>
  
  <p>Is there a way to generate these passwords without memory errors?</p>