softtouch 9 Posted February 8 (edited) I have a python script which does some website work, and at one point in that script, it has to call a Delphi function with a byte array as parameter, and will have to get a string back from the Delphi function and continue the script execution. How can I realize that? I googled but its mostly the other way around, calling a python function from delphi. Edited February 8 by softtouch Share this post Link to post
Cristian Peța 103 Posted February 8 That would be Delphi4Python. Otherwise you need a inter-process communication. For example your Delphi code can run in REST server. Share this post Link to post
softtouch 9 Posted February 8 (edited) 35 minutes ago, Cristian Peța said: That would be Delphi4Python. Otherwise you need a inter-process communication. For example your Delphi code can run in REST server. I know, I use P4D... I can call python funtions from delphi, but this time, I need it the other way around, calling a delphi function from python. Edited February 8 by softtouch Share this post Link to post