python 怎样随机生成中文字符?

def drawtext(self, pos, txt, fill): draw = imagedraw.draw(self.image) draw.text(pos, txt, font=self.font, fill=fill) del draw def randrgb(self): return (random.randint(0, 255), random.randint(0, 255), random.r


相关搜索

热门搜索