首页 > 【Python】python如何调用casperjs|phantomjs

【Python】python如何调用casperjs|phantomjs

我用casperjs写了一个QQ空间自动点赞的脚本,想通过python来运行该脚本,然后在http://sae.sina.com.cn 新浪云的云应用里运行。
看到一种说法是把js文件弄成可执行文件,同求怎么弄?
l'm new in python and js


遗憾的是,SAE不支持运行自己的程序


调用phantomjs.exe就好了,可以用subprocess.Popen来完成

【热门文章】
【热门文章】