Closed
Description
It's a continuation of a theme #457
Unfortunately, nothing works. None of the methods given in the article (https://github.com/pyscripter/python4delphi/wiki/PythonThreads#tpythonthread-properties). There is simply no response. I have logging, but nothing is written in the log.
What am I doing wrong? Python embedded version is 3.8. Delphi 11.3
Here is my code:
ThreadPythonExec(
procedure
begin
GetPythonEngine.ExecFile(PyFileName);
end{, nil, false, emNewInterpreter});
Task := TTask.Create(
procedure
var
Py: IPyEngineAndGIL;
begin
Py := SafePyEngine;
Py.PythonEngine.ExecFile(PyFileName);
end);
Task.Start;
Metadata
Metadata
Assignees
Labels
No labels