Question: What does the glob ( ' * ' ) method do when called on a Path object in Python? Question 9 6 options: It deletes
What does the glob method do when called on a Path object in Python?
Question options:
It deletes all files in the specified directory.
It returns a list of all files and directories in the specified path.
It finds all files in the specified directory that match a specific pattern, in this case, any file.
It renames all files in the directory according to a specified pattern.
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
