I never use python. The only language I know is JavaScript. I use node to surf the web and I continued to read about how casper.js can clean web pages. so I thought I could use it as usual. Now I am in the installation, and I get 'python' is not recognized as an internal or external command, operable program or batch file.I know that this means putting python in my path. I do not want to install python.
'python' is not recognized as an internal or external command, operable program or batch file.
I am using JavaScript, why should I install python? I'm just confused by the fact that since it casper.jshas jsin the end, I would think that it would rely on js, not python. so that you can confirm if I really need to install python. I really don't want to deal with another language right now. Is this a simple process?
casper.js
js
Yes, casper.js requires Python: http://docs.casperjs.org/en/latest/installation.html
PhantomJS 1.9.1 or higher. Please read the installation instructions for PhantomJSPython 2.6 or later for casperjs in the bin / directory
PhantomJS 1.9.1 or higher. Please read the installation instructions for PhantomJS
Python 2.6 or later for casperjs in the bin / directory
JavaScript. (, , ) CasperJS script Python.
python casper.js?
.
, ?
CasperJS python, python .
python 2.0 ( node.js ).
, : CasperJS node.js. , node python, . CasperJS - PhantomJS, webkit, , , javascript, node.js.
:
CasperJS npm, node.js NodeJS . casper, require ('casperjs) node.