<filename>notebook/dir_import_test/dir/main_relative.py
from .. import mod1
from ..dir_for_mod import mod2

mod1.func()
mod2.func()

<filename>notebook/dir_import_test/dir/main_relative.py
from .. import mod1
from ..dir_for_mod import mod2

mod1.func()
mod2.func()
