摘要: 1 from faker import Faker 2 3 # fake = Faker() 4 5 #本地化处理 6 fake = Faker('zh_CN') 7 # print(fake.name()) 8 # print(fake.address()) 9 10 #保存在文件 11 with open('./data1.txt','w',encoding='utf... 阅读全文
posted @ 2018-08-15 20:34 snailon 阅读(99) 评论(0) 推荐(0) 编辑