# encoding: utf-8 import random as r a1=['张','金','李','王','赵'] a2=['玉','明','龙','芳','军','玲'] a3=['','立','玲','','国',''] for i in range(15): name=r.choice(a1)+r.choice(a2)+r.choice(a3) print(name)
http://www.cnblogs.com/jmlovepython/p/7388632.html
对于需要中文名字的 先可以从网站爬取,存入数据库,然后lr做参数化