Creating a DLL file from Python Code

ici iltchevi at gmail.com
Fri Mar 9 16:55:39 EST 2007


On Mar 9, 2:08 pm, macedo.si... at gmail.com wrote:
> Hi,
>
> I would like to request your attention for this very specific issue:
>
> I have several classes in Python, and now I want simply re-use it, in
> other language.
>
> The closest to solution I think I came was with this site:http://www.py2exe.org/index.cgi/Py2exeAndCtypesComDllServer
> but I not able to solve questions related with TLB files and
> __init__.py files.
>
> So, could anyone give a tip about how to creat a dll file from Python?
> It is possible under any conditions?
>
> thank in advance
>
> macedo

Best way: http://www.python.org/doc/ext/embedding.html , than use your
modules as py files or string constants.




More information about the Python-list mailing list