I have a Python script that evaluates certain directories on my hard-drive for criteria matching files. It returns a list of strings, containing the file names.
In Applescript, I call the Python script with do shell script "path-to-script.py".
If I print the list inside the Python script and run the script from Applescript, it appears as a single string (i.e. "['string1', 'string2', ..., 'stringX']") in the results dialog of the Script Editor App.
Does anybody know, how to pass this Python list to an identical Applescript list?
Thanks.