Jump to content

maomao2028

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. maomao2028

    Running python code in Delphi threads

    Thanks for your help, now the thread is running fine
  2. maomao2028

    Running python code in Delphi threads

    It seems ThreadPythonExec does not work. and memory leak occurs procedure TForm1.Button2Click(Sender: TObject); begin ThreadPythonExec( procedure begin GetPythonEngine.Execstring('print(10)'); end); end;
  3. maomao2028

    [help] how to convert delphi TBytes to python Bytes

    Thanks, It does works
  4. In delphi, with the help of p4d's mainmodule.xxx(v), the python function is called, where the v input is the bytes type, how to convert Tbytes to bytes type in Delphi
×