Has anyone experimented with using Python within LC?

Geoff Canyon gcanyon at gmail.com
Thu Jul 20 15:33:31 EDT 2023

I've now figured out that calling a Python file from within LC is as easy

put shell(quote & "<path_to_python>" & quote && quote &
"<path_to_python_file>" & quote)

Then whatever gets print()'ed in Python gets returned to LC. Has anyone
done work this way and has ideas on best practices for some sort of

1. generate python code
2. write python code to a file
3. write data to a (separate?) file
4. call the code
5. process the results



More information about the use-livecode mailing list