Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
For example, here in this article it is written how to get a dll from a py file, see the subtitle "Setting up IIS7":
There is no easy way, but you can write a C wrapper that loads the module and exports the functions you need. A module can be stored as source code right in the code. To work in the general case, you will need an installed Python, or at least PythonNN.dll, and the necessary modules from the standard library (also built into the code). There is a py2exe utility that makes an .exe file in approximately the same way.
Google about cython and pyd files
stackoverflow.com/questions/4083150/using-cython-to-expose-functionality-to-another-application
www.python-forum.org/pythonforum/viewtopic.php?f=15&t=11224 Not
myself tried.
And here's another note, by the way, Implementing dynamic DLLs in Python ; as you can see from the note, there is no ready-made solution, although it seems to be technically possible to write one template, which then “simply” would receive a list of functions and make a DLL out of this.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question