how to import a module which i made from anywhere in python code example
Example 1: import different module based on python version
try:
import simplejson as json
except ImportError:
import json
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)