You are here : python_3Built-in Functions__import__

__import__() - Built-in Functions

Note


Syntax

__import__(name, globals=None, locals=None, fromlist=(), level=0)


Example

spam = __import__('spam', globals(), locals(), [], 0)


Output / Return Value


Limitations


Alternatives / See Also


Reference