The quiz where the difficulty automagically adapts to the player's Python knowledge
This is a question page. You can use this page to bookmark a question. Start a new quiz!
Question #91
os.listdir() return a list containing the names of the entries in the directory given by path. The list is in arbitrary order. It does not include the special entries '.' and '..' even if they are present in the directory. (docs.python.org/2/library/os.html#os.listdir)
Which function lists all files and directories in a directory?
— The Python Quiz (@thepythonquiz) June 13, 2020
os.dirlist()
os.listdir()
os.listall()#python #python3 #pythonprogramming #learnpython
Question difficulty: π΅π΅π΅π΅π΅
Similar questions: