Path not found in Python - Stack Overflow
stackoverflow.com › path-not-found-in-pythonFeb 09, 2021 · Show activity on this post. I have strange issue on environment where i have imported 'pathlib', it says Path is not defined after executing below command in terminal. >>> import pathlib >>> Path.cwd () Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'Path' is not defined. Thanks. python path pathlib. Share.