It occured to me that an import hook could be written for pyrex '.pyx' files, so that compilation can occur at runtime, if the source file has changed since the last compile. Before I try this myself, has anyone else already written any code to do this? Sw.