Encountered a problem when using lisdir() in kaggle

Viewed 26

I am trying to use listdir() in my code like so:

ffffiles=os.listdir("../input/mma-facial-expression/MMAFEDB/train/")
print(ffffiles)

But I keep getting this error:

TypeError: 'str' object is not callable

How can I fix this?

0 Answers
Related