pip install fakerfaker包,造数神器
from faker import Faker fk = Faker(locale="zh-CN") # 2、生成词语 word = fk.word() print(word) # 设备
怎么看word()方法对应的源码呢?