Is it possible to create a DLL from a Python source file. I need to reference the DLL generated from Python source file in other Visual Basic Project.
Asked
Active
Viewed 2,312 times
2
-
4So you want to execute Python code from Visual Basic? Which Visual Basic? .NET? If yes, check out [IronPython](http://ironpython.net/). If no, good luck... You might want to create a wrapper in C++ with `Boost.Python` or something, but it's not going to be pretty. – Niklas B. Feb 09 '12 at 18:22
-
Could you edit this question to be a bit more general and might also be helpful to others? Maybe something along the lines of "How to use Python code in .NET" or "How to use Python code in VB6" (depending on which is what you actually want). – Niklas B. Feb 09 '12 at 19:24
-
For DLL injection perhaps? For calling from C or a C derived language? – araisbec Apr 14 '13 at 17:20
-
@araisbec is it possible to use 'python dll' in c++( vc6 & vc++2010)?? – Scott 混合理论 Jun 19 '13 at 05:29