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.
I have tried directly importing the .py file, subprocess.call(), subprocess.Popen() and execfile()
I have two main problems:
- 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]).
- Secondly, my .py script uses libraries such as matplotlib.pyplot or numpy that cannot be executed by Jython.
I am lost already, after trying all the possibilities I could think of. What should work best? Thank you in advance.