A simple utility to import something by its string name.
Authors:
Import and return bar given the string foo.bar.
Calling bar = import_item("foo.bar") is the functional equivalent of executing the code from foo import bar.
Parameters: | name : string
|
---|---|
Returns: | mod : module object
|