Permuting a list of chars takes all my memory (Python)
<p>I am building a dictionary of all the alpha and numbers. The problem with this code is "within matter of second consumes 100% of my memory". Do you think my implementation is bad?
Any Help is appreciated. </p>

<pre><code>from timeit import Timer
from itertools import permutations
dictionary = []
small_alpha = map(chr, range(97,123))

lookup.append(small_alpha)

def test():
    for i in permutations(lookup, 10):
        dictionary.append(''.join(i))

if __name__ == '__main__':
    test()
</code></pre>

<p>(Edited)
I am a well educated. No intent of hacking. This is realistically not possible even if I have 100 machines. No one can compute such a big number. Just was trying out if it is possible to some extent</p>
