Simon, I have heard that vim can use dlopen() (the unix equivalent of LoadLibrary) to run Python extensions if it's configured that way. You might want to look at their code. Jeff