from pacote1 import modulo1 from pacote1.modulo1 import soma, sub from pacote1 import modulo2 from pacote1.modulo2 import main print(modulo1.soma(2, 3)) print(soma(4, 5)) print(sub(3, 2)) print(modulo2.main()) print(main())
from pacote1 import modulo2 modulo2.main()