import a function python code example Example: using python function by import (in python3) --- from .filename import function_name