4 ms·"os.listdir() returns a list of bytes instances if the argument is a bytes instance" and unicode otherwise.by llimllib 17y ago"os.listdir() returns a list of bytes instances if the argument is a bytes instance" and unicode otherwise.