how to find a path of a file in terminal code example
Example 1: pathlib path get directory of current file
import pathlib
pathlib.Path(__file__).parent.absolute()
Example 2: how to find the path of a command in linux
which python
which -a pyton