import all modules python code example Example 1: import all from library python from something import * Example 2: python module initialization import psutil