Hi, I am trying to search for a solution for this and couldn't find much information, hopefully can get some advice here. Thanks alot.
I have an autoit script which is already running, extracting information from an internal system, and storing the data as three sets of array variables.
Separately I have a python py script with a defined function, processing some data cleaning on these three arrays and generate a txt file.
I am trying to combine the two processing scripts (autoit and py) together, such that after the process completed in autoit with the output of 3 arrays, I can execute the py script and pass these 3 arrays into the py function.
I have managed to use either runwait or shellexecute to execute the py script, but I was unable to pass the 3 arrays variables into the py script function, as result it has been generating an empty txt file.
Example:
Final output in autoit:
$array1
$array2
$array3
In my py script :
def dataclean(array1, array2, array3) :
some data cleaning steps
return (txt output)
dataclean(array1, array2, array3)
How can I assign array1 in py script to $array1 in autoit?
Thanks alot in advance.