bundles / IPython 9.12.0 / IPython / utils / importstring / import_item
function
IPython.utils.importstring:import_item
Signature
def import_item ( name : str ) → Any Summary
Import and return bar given the string foo.bar.
Extended Summary
Calling bar = import_item("foo.bar") is the functional equivalent of executing the code from foo import bar.
Parameters
name: stringThe fully qualified name of the module/package being imported.
Returns
mod: module objectThe module that was imported.
Aliases
-
IPython.paths.import_item