[Tutor] Will there ever be a native python compiler to create pure exe and dll

R. Alan Monroe R. Alan Monroe" <amonroe@columbus.rr.com
Sun Jun 1 22:59:02 2003


>>The job I had in mind was making (or at least, prototyping) vis
>>plugins for Sonique. That requires creating .dlls. I suppose I'm stuck
>>with C for this task.

> You can make a thin wrapper in C, and write the bulk of your code
> in Python. See http://www.python.org/doc/current/ext/embedding.html

> I don't know anything about Sonique, but I suppose your DLL needs
> to implement some well defined interface that Sonique is adapted
> to. This could be thin C wrappers that just call Python scripts.
> There is an example at doing that at
> http://www.python.org/doc/current/ext/pure-embedding.html

Thanks to you and the others that responded. I got the
Demo\embed\demo.c from the python source tree to compile & run under
Dev-C++. With some trial and error I may be able to figure it out :^)

Alan