无论如何,这样做在长期来看可以节省一些钱。假设你正在使用wp全导入,或者是那个名字,而且知道格式,你可以尝试这样做:keywords_file =“keywords.txt”out_file =“generated_pages.txt”generic_title =“@willyfish storage boxes in”with open(keywords_file,'r')as kf:keywords = kf.read()。splitlines对于关键字中的关键字:标题=一般标题 “关键字”内容=`` # content =“必需的页面内容”with open(out_file,“a”)as of:of.write(title n n content “##########”)找出WP导入程序所需的格式,我会调整代码。