Forum Archive

How to get an array/tuple/dictionary of files that a certain folder contains?

happy_variable

So, I tried doing it using file.read but it didn't do it for me, please help.

Thank you.

ccc
import os
print(os.listdir('.'))