mirror of
https://gitee.com/sjqzhang/go-fastdfs.git
synced 2024-11-29 09:48:13 +08:00
10 lines
234 B
Python
10 lines
234 B
Python
# -*- coding: utf-8 -*-
|
|
import os
|
|
import random
|
|
j=0
|
|
for i in range(0,1000000):
|
|
if i%1000==0:
|
|
j=i
|
|
os.system('mkdir -p %s'%(i))
|
|
with open('%s/%s.txt'%(j,i),'w+') as f:
|
|
f.write(str(random.random())*100000) |