@albanD  i got it  a user called chetan answered me however thanks a lot for the help and time
my question was actually that python ignores file in path ie if a class is inside
pkg1-subpkg1-file.py-class then to acess it pkg1.subpkg1.class() it omits file