Compiling to a library, instead of an executable?

Robert Kern rkern at
Mon Oct 25 22:01:02 CEST 2004

Dimi Shahbaz wrote:
> Hi,
> I've seen a few tools to create standalone executables from python 
> scripts (py2exe, cx Freeze).  My question is, has anyone created a tool 
> to create standalone libraries (.a, .so, .dll) from python scripts?  I'd 
> like to create a library, written in python, and compile it for other 
> programs (in C, et al) to link with.  I wouldn''t mind bundling 
> python23.dll with it.

You want Elmer.

Robert Kern
rkern at

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter

More information about the Python-list mailing list