python import function from file

#If you want to import all functions from file... but you will still need to
#mention the file name:
import pizza
pizza.pizza_function()

#If you want to import every function but you dont want to mention file name:
from pizza import *
pizza.pizza_function()

Here is what the above code is Doing:
1. It is importing the entire module pizza.
2. It is importing only the function pizza_function from the module pizza.
3. It is importing every function from the module pizza.
4. It is importing the entire module pizza and then calling the function
pizza_function from the module pizza.