库和版本:Faker==2.0.0factory-boy==2.12.0 官方文档:https://factoryboy.readthedocs.io/en/latest/index.html 1. 新建两个object:User和School user.py class User(): def __init__(self, name, num, age, school, city, phone): self.name, self.num, self.age, self.school, self…