how to import build function code example
Example 1: using python function by import
(in python3) ---
from .filename import function_name
Example 2: create a python file and import it as library in other file
# Script file: my_script.py
import my_module
my_module.hello_printer()
print("Creator:", my_module.name)