The import Statement
The import statement finds a module, loads it, initializes it if necessary, and defines a name or names which are used to reference code in the module.
import functions
import classes
functions.function1()
class1 = classes.Class1()
class1.method1()
Output:
In function1
In method1