how to access the windows path from the other os in python code example
Example: what does filename = path(file).stem python
from pathlib import Path
Path('/root/dir/sub/file.ext').stem
# returns 'file'
from pathlib import Path
Path('/root/dir/sub/file.ext').stem
# returns 'file'