Skip to content

Commit

Permalink
Create GenPossibleDir.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fkclai committed Jul 27, 2019
1 parent e62d527 commit 9470dec
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions GenPossibleDir.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import itertools


stuff='01'
directoryPre = ''
directoryFile =open('directorys.txt','w')

string =''
print('start..')

for (a,b,c,d,e,f,g,h,i,j) in itertools.product(stuff,repeat=10):
string += directoryPre + a+b+c+d+e+f+g+h+i+j +'\n'

directoryFile.write(string)
directoryFile.close()

0 comments on commit 9470dec

Please sign in to comment.