MCQs > IT & Programming > Python > Which function could be used to list every file and folder in the current directory?

Python MCQs

Which function could be used to list every file and folder in the current directory?

Answer

Correct Answer: os.listdir('.')

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it