1----FILE_1----
2def mult(a, b):
3 return a * b
4
5----FILE_2----
6from FILE_1 import mult
7
8print(mult(2, 4))
9# >>> 8
1from pakage_name.module_name import function_name
2# now we can directly use function
3
4################################## OR ########################################
5
6from pakage_name import module_name
7# now we have to use module_name.function_name