Has anyone experimented with using Python within LC?

Bob Sneidar bobsneidar at iotecdigital.com
Fri Jul 21 22:09:04 EDT 2023

Out of curiosity, what can be done in in Python that cannot be done in LC Script? 

Sent from my iPhone

> On Jul 21, 2023, at 18:37, Alan Stenhouse via use-livecode <use-livecode at lists.runrev.com> wrote:
> Hi Geoff
> Sorry for not replying earlier but looks like you've got it sorted. I did a bit on this years ago and am contemplating it again. Just looked for my old stack and see this script for running a python script and putting the output into the "output" fld:
> on runPythonScript pScript
>   put the tempname &".py" into tFile
>   put pScript into URL ("binfile:" & tFile)
>   put shell("<path_to_python>" && tFile) into fld "output"
> end runPythonScript
> Was starting to provide an interface for experiment parameters for the scripts I was running (for some Turi ML classifications) but the project paused...
> cheers
> Alan
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

More information about the use-livecode mailing list