When runing pyton scripts, in order to import function from some file, we need to make sure that file is in the system path.
So we can add a path in the code. While adding absolute path is easy, but it may not importable to other people.
So here we show an example, where I want to add a relative path of 3 levels up than the file that’s being current running:
|