Has anyone experimented with using Python within LC?
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...
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode