Generating sequential alphanumeric numbers
<p>Need better ways to generate ascendingingly sequential strings that start from AAAAA00001 through ZZZZZ99999?</p>

<p>E.g.
AAAAA00001,
AAAAA00002,
…….
AAAAA99999,
AAAAB00001,
….
ZZZZZ99999</p>

<p>The current sample that is under use is highly unoptimised (I feel) as follows:</p>

<pre><code>def generateAlphanumericSequence():
    for i in range(65, 91):
        for j in range(65, 91):
            for k in range(65, 91):
                for l in range(65, 91):
                    for m in range(65, 91):
                        for z in range(1, 100000):
                            print '%s%s%s%s%s%05d' % (chr(i), chr(j), chr(k), chr(l), chr(m), z)
</code></pre>

<p>Any ideas?</p>
