The code used in this video is listed below.
python code
import os
p = os.path.abspath(os.path.join("settings", "config.json"))
os.path.exists(p)
pathlib: os.path
The code used in this video is listed below.
import os
p = os.path.abspath(os.path.join("settings", "config.json"))
os.path.exists(p)