title: How to get data from python script at Node.js?
body: <p>I'm trying to get data from python script at Node.js server.
  I need to launch this python script with superuser privileges.</p>
  
  <pre><code>child.execFile('sudo python /home/pi/node.js_scripts/app/request.py', function (err, stdout, stderr) {
  if (err) throw err;
  if (stderr) throw err;
  console.log(stdout); }); 
  </code></pre>
  
  <p>But i get this error:</p>
  
  <pre><code>Error: spawn sudo python /home/pi/node.js_scripts/app/request.py ENOENT
      at exports._errnoException (util.js:746:11)
      at Process.ChildProcess._handle.onexit (child_process.js:1046:32)
      at child_process.js:1137:20
      at process._tickCallback (node.js:355:11)
  </code></pre>
  
  <p>How can I solve my problem?</p>