wordart.py 文件源码

python
阅读 19 收藏 0 点赞 0 评论 0

项目:csss-minion 作者: henrymzhao 项目源码 文件源码
def createImage(self, arr, saveName):
        text = " ".join(arr)
        savedir = path.join(self.d,self.e, saveName) # local image gets overwritten each time. will this break if too many requests?
        wc = WordCloud(max_words=20000, stopwords=self.STOPWORDS).generate(text)
        wc.to_file(savedir)
        return savedir


        # idk how it subscribes to the event... but it works!
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号