I have a list of filenames in python and I would want to construct a set out of all the filenames.

filelist=[]
for filename in filelist:
    set(filename)

This does not seem to work. How can do this?

8 Answers
8

Leave a Reply

Your email address will not be published. Required fields are marked *