Use os.listdir (or os.scandir in >= 3.5) to list items in a single directory, use os.walk (which uses os.listdir or os.scandir in >= 3.5) to list items in a directory tree.
Using os.walk for just a single directory is not as efficient as just using the function it uses internally to do that job.