Port of python stdlib to other languages.

Diez B. Roggisch deets at nospam.web.de
Sat Jan 3 16:08:15 EST 2009


vk schrieb:
> Have there been ports of the Python standard library to other
> languages?
> 
> I would imagine using pickle, urllib, and sys in C (with pythonic
> naming conventions) would be easier than using other libraries to do
> the same thing.

AFAIK not. You could try elmer (found on SF) to expose these as C-DLL. 
However, I doubt this will be widely adopted - to much hassle, 
especially for OO-style interfaces. Those aren't properly exposable.


What do you need C for anyway? Or, to put it the other way round - why 
not expose whatever you need in C as python extension, and write your 
app in Python?

Diez



More information about the Python-list mailing list