#fs gen SV 1.04.30 F 4/3 import time,random import os def stay(): x=['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '+', ')', '(', '@', '_', '&', '%', '=', '#', '~', '^', '{', '}', '[', ']', 'A', 'B', 'C', 'D', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'] tgj=0 tyt,tyt1,tyt2="","","" gng=random.randrange(1,5) gy=random.randrange(1,5) time0=time.time() for f in xrange(0,gng): tyt,tam,tj,tj0,tj1,tgh,z="","","","","","","" for k in xrange(0,gy): z=random.randrange(1,19) for v in xrange(0,z): tam=random.choice(x) tyt=str(tam)+str(tyt) tj="D:\\05\\genu\\"+str(tyt) if os.path.exists(tj)==0: os.makedirs(tj) if os.path.exists(tj)==1: q=random.randrange(1,58) print q for r in xrange(0,q): for j in xrange(0,z): tam=random.choice(x) tyt1=str(tam)+str(tyt1) tj0=str(tj)+"\\"+str(tyt1) if os.path.exists(tj0)==0: os.makedirs(tj0) if os.path.exists(tj)==1: q=random.randrange(1,58) print q for r in xrange(0,q): for j in xrange(0,z): tam=random.choice(x) tyt2=str(tam)+str(tyt2) tj1=str(tj)+"\\"+str(tyt1)+"\\"+str(tyt2) if os.path.exists(tj1)==0: os.makedirs(tj1) tyt2,tam="","" tj0,tyt1,tyt2,tj1="","","","" tgj=tgj+1 tgh="time_"+str(tgj) print tgh tyt,tj,tj0,tj1,tgh="","","","","" time1=time.time() time0=time1-time0 print str(time0)+str("sec") stay()