how to import modules from upper or previous dir in 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