Skip to content Skip to sidebar Skip to footer

How Does Ironpython Loads Modules While Being Hosted?

I'm confused about the way IronPython loads modules while being hosted. I'm using IronPython 2.7.7 installed using the MSI package and I've referenced C:\Program Files (x86)\IronPy

Solution 1:

Your basic approach in adding the relevant paths to the engine is correct.

IronPython uses large amounts of the standard library (wherever possible). Low level modules that are implemented natively in CPython are implemented in C# for IronPython. One of those modules is datetime. So as long as IronPython.Modules.dll is around, several standard modules are available even without specific loading/path handling.

Post a Comment for "How Does Ironpython Loads Modules While Being Hosted?"