May-25-2022, 05:56 PM
Hi, Python Forum
I'm a new member here. And also new in Python.
My name is Stephanus, you can call me Steven, from Indonesia.
I would like to know if we can compile Python to DLL file.
def my_function(x):
return(x * 2)
Suppose I have a very simple function like that one above.
How can I compile it to .DLL so that I can call it in Delphi or C.
Thank you very much.
I'd really appreciate your help.

I'm a new member here. And also new in Python.
My name is Stephanus, you can call me Steven, from Indonesia.
I would like to know if we can compile Python to DLL file.
def my_function(x):
return(x * 2)
Suppose I have a very simple function like that one above.
How can I compile it to .DLL so that I can call it in Delphi or C.
Thank you very much.
I'd really appreciate your help.