Which function could be used to list every file and folder in the current directory?
Correct Answer: os.listdir('.')
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Python Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Python MCQ Questions
The core text processing tasks in working with email are parsing, modifying, and creating the actual messages. Which of the following modules deal with parsing and processing email messages?
Which user input method will act like a file-object on which read and readline functions can be called?
Which protocol libraries can be used for an email implementation in a Python application?
Which statement import every name in a module namespace into the current namespace?
Correct way to remove an installed Python package?
Which of the following are the characteristics of the __init__.py file?
Output of the below code snippet? squares = [] for x in range(5): squares.append(lambda: x**2) x = 8 for i in range(5): print(squares[i]())
Which piece of code best describes the way to parse data from JSON file?
Output of following code? x, y = 15, 45 res = x if x < y else y print(res)
Which function do you use to read data using binary input?