improve this very-simple dictionary generator in python
<p>I'm trying to make a simple dict generator. It works but it isn't very functional yet. </p>

<p>I'd like to improve it by being able to change the max size of the output without touching the code.</p>

<pre><code>letr='abcdefghijklmnopqrstuvwxyz'
for i in range(len(letr)):
    t=letr[i]
    print t
    for t2 in letr:
        print t+t2
        for t3 in letr:
            print t+t2+t3
            for t4 in letr:
                print t+t2+t3+t4
                for t5 in letr:
                    print t+t2+t3+t4+t5
</code></pre>
