## for example, append src folder from a module

# when this command does not work
sys.path.append("../")
# replace by
src_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '../'))
sys.path.append(src_path)