In launch.json, specify a dynamic working directory (i.e. the directory where the currently-open Python file is located) using:
1"cwd": "${fileDirname}"
-->
In launch.json, specify a dynamic working directory (i.e. the directory where the currently-open Python file is located) using:
1"cwd": "${fileDirname}"