Table Of Contents

Previous topic

Message

Next topic

listener

This Page

phoenix_title imp2

The _resolve_name and _import_module were taken from the backport of importlib.import_module from 3.x to 2.7. Thanks to the Python developers for making this available as a standalone module. This makes it possible to have a more an import module that mimics the “import” statement more closely.

function_summary Functions Summary

load_module Try to import moduleName. If this doesn’t work, use the “imp” module

Functions



load_module(moduleName, searchPath)

Try to import moduleName. If this doesn’t work, use the “imp” module that is part of Python.