[Numpy-discussion] Antwort: Re: create dll from numpy code
Wed Feb 17 00:31:52 CST 2010
> firstname.lastname@example.org schrieb am 17.02.2010 01:43:03:
> > email@example.com wrote:
> > >
> > > Hello,
> > >
> > > is there a possibility to create a dll from a numpy code?
> > What do you want to create a dll for ? For distribution purpose, to hide
> > your code, etc... ?
> To replace a Matlab generated dll, which is part of a bigger project.
If you mean that it is a DLL generated from .m code compiled from the
matlab compiler, then the equivalent of doing that in python is to embed
the python interpreter in your code. It is possible to embed Python with
numpy inside it, but you can't have everything in one dll - you need all
the python files used by your program. Depending on your usecase, it may
be important or not, but we need more informations on what you are
trying to do to help you,
More information about the NumPy-Discussion