# -*- coding: utf-8 -*-#生成全部的六位数字密码f = open('passdict6.txt','w')for id in range(1000000):password = str(id).zfill(6)+' 'f.write(password)f.close()