python faker 造数据

from faker import Faker

faker= Faker("zh_CN")

name_female=faker.name_female()

name_male=faker.name_male()

address= faker.address()

telephone= faker.phone_number()

id_card=faker.ssn()


print(name_female)

print(name_male)

print(address)

print(telephone)

print(id_card)
posted @ 2020-07-02 10:45  fyangq  阅读(163)  评论(0编辑  收藏  举报