this seems you are finding tough time to solve a rather easy prob, just use the following idea:
<br>
<br>L=3
<br>a=1
<br>while a<L:
<br>                b=1
<br>        while b<L:
<br>                                c=1
<br>                while c<L:
<br>                                                name = chr(ord('a') + c)
<br>                        print a, b, c, name                       
<br>                                                c=c+1               
<br>                b=b+1
<br>                 a=a+1
<br>print 'End'
<br>
<br>
<br>This example gives an idea about how you run nested loops and create automatically generated file names inside a loop.
<br>
<br>If you still don't get it, I can just write you the exact code you need,
<br>
<br>cheers!
<br>
<br><hr align="left" width="300">
View this message in context: <a href="http://www.nabble.com/nesting-for-statements--t626966.html#a2248328">Re: nesting for statements?</a><br>
Sent from the <a href="http://www.nabble.com/Python---python-list-f2962.html">Python - python-list</a> forum at Nabble.com.