Question: hat does the Path.cwd ( ) method do in Python's pathlib module? Question 4 5 options: Creates a new directory. Changes the current working directory
hat does the Path.cwd method do in Python's pathlib module?
Question options:
Creates a new directory.
Changes the current working directory to a specified path.
Lists all files and folders in the current working directory.
Returns the current working directory as a Path object.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
