'Why do I receive a "no such file or directory" error when opening path?

Here's the code:

from pathlib import Path
path1=Path(r"Users\me\Desktop\Python\Files\mbox-short.txt")

fhand=open(path1)

I receive a 'no such file or directory' error.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source