import in python example
Example 1: using python function by import
(in python3) ---
from .filename import function_name
Example 2: python import
from time import sleep
# or import time
a = 10
sleep(4) # sleep function from time library
print(a)