pathlib relative path code example
Example 1: relative path python
import sys,os
sys.path.append(os.path.realpath('..'))
Example 2: absolute path and relative path
/* Absolute Path */
https://www.w3schools.com/images/picture.jpg
/* Relative Path */
/images/picture.jpg