add current directory to path python code example
Example 1: get path to current directory python
import os
os.path.abspath(os.getcwd())
Example 2: how append a directory based on current directory python
import sys
sys.path.append(os.path.abspath('../'))