cara mengimpor modul dari dir bagian atas atau sebelumnya di py

#use the .. to import from a previous directory
import ..module_in_previous_dir
#import module in a folder in a previous directory
from ..previous_dir_folder import module
#no of . should be equal to no of times you want move up a dir
omoluwa samel