If you want to import module2
you will need to call function2
this way: module2.funcion2(2,3)
.
You usually want to avoid from <module> import *
so either do as above or from module2 import function2
and then you can simply call function2(2, 3)
.