bundles / nbformat 5.11.1 / nbformat / _imports / import_item
function
nbformat._imports:import_item
source: /nbformat/_imports.py:12
Signature
def import_item(name)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
nbformat._imports.import_item