摘要: 指定绝对路径 python在使用execjs执行js也可以指定node_modules路径,这样就不需要进行环境变量的添加了。 js_code = open("toutiao_signature.js", "r", encoding="utf-8").read() ctx = execjs.comp 阅读全文
posted @ 2024-03-04 18:28 淋哥 阅读(57) 评论(0) 推荐(0) 编辑