image
image
image

Module Import

image

The keyword import is used to import.

Example

Import first

The dot operator can help us access a function as long as we know the name of the module.

Example

Start IDLE.

Navigate to the File menu and click New Window.

Type the following:

first.add(6,8)