Custom IronPython import resolution
问题 I am loading an IronPython script from a database and executing it. This works fine for simple scripts, but imports are a problem. How can I intercept these import calls and then load the appropriate scripts from the database? EDIT: My main application is written in C# and I'd like to intercept the calls on the C# side without editing the Python scripts. EDIT: From the research I've done, it looks like creating your own PlatformAdaptationLayer is the way you're supposed to to implement this,