Which of these is used to list all file names in the current directory?

os.listdir()os.listnames()

Awesome!

os.listdir() is what's used to list all file names in the current directory.