title: Execute .py script from sikuli passing arguments
body: <p>I have a code to be executed in Sikuli, and I want to call an external Python Script to analyze the data from a generated file. </p>
  
  <p>I have tried directly <strong><em>importing</em></strong> the .py file, <strong><em>subprocess.call(),</em></strong> <strong><em>subprocess.Popen()</em></strong> and <strong><em>execfile()</em></strong></p>
  
  <p>I have two main problems: </p>
  
  <ul>
  <li>Firstly, I need to pass some arguments to the python script (specifically the path of the file to analyze [str] and the test number [int]).</li>
  <li>Secondly, my .py script uses libraries such as <strong>matplotlib.pyplot</strong> or <strong>numpy</strong> that cannot be executed by Jython.</li>
  </ul>
  
  <p>I am lost already, after trying all the possibilities I could think of. What should work best? Thank you in advance.</p>