摘要:
import execjs # eval 和 complie 是要构建一个JS的环境 e = execjs.eval('a = new Array(1,2,3)') # 可以直接执行JS代码 print(e) x = execjs.compile(''' function add(x,y){ ret 阅读全文
posted @ 2019-08-12 20:20
Mr_Smith
阅读(445)
评论(0)
推荐(0)
摘要:
from scrapy.crawler import CrawlerProcess from scrapy.utils.project import get_project_settings # 注意与scrapy.cfg在同一级目录 if __name__ == '__main__': process = CrawlerProcess(get_project_settings()) ... 阅读全文
posted @ 2019-08-12 18:33
Mr_Smith
阅读(126)
评论(0)
推荐(0)

浙公网安备 33010602011771号