title: How to run a python script from arduino yun sketch
body: <p>i need to run a python script from an arduino yun sketch.</p>
  
  <p>the python file resides here:</p>
  
  <pre><code>/mnt/sd/arduino/www/python/python.py
  </code></pre>
  
  <p>... and this is the arduino sketch:</p>
  
  <pre><code>#include &lt;Console.h&gt;
  #include &lt;Process.h&gt;
  
  void setup() {
     Bridge.begin();
      Console.begin();   
      pinMode(A0, INPUT);  
  
    }
  
    void loop() {   
    if(analogRead(A0) &gt; 200){
    Process p;
    Console.println("Limit....");
    p.runShellCommand("python /mnt/sd/arduino/www/python/python.py");
    delay(1000);   
    }
  
    Console.println(analogRead(A0));
    delay(100);
    }
  </code></pre>
  
  <p>if i run the python file from Winscp window, it works fine. I think there is a problem with the path...</p>
  
  <p>thanks in advance...</p>