1from otherPyFileName import function1, function2
2
3out1 = function1(3)
4out2 = function2(3)
5
6
7print(out1, out2)
8
9output ---> WhatEver ftn returns
1#If you want to import all functions from file... but you will still need to
2#mention the file name:
3import pizza
4pizza.pizza_function()
5
6#If you want to import every function but you dont want to mention file name:
7from pizza import *
8pizza.pizza_function()