可以的,只要把字符串拼接起来就行,可以使用imgname='词云'wordcloud.render(imgname+'.html')来在根目录下生成"词云.html"文件
可以的,通过input函数获取键盘输入的信息
a=input("输入路径:")render(a)