Compile DLL from python code

Hi everyone, if you can compile Python code into a windows dll file? How would you do that?

+6
python dll compilation
source share
1 answer

One way would be to create a C or C ++ library that embeds the Python interpreter and runs your Python code.

Another option is to translate Python code in C ++ with ShedSkin and make it a DLL, although I would not expect a very clean API to get out of this.

+5
source share

All Articles