title: How to construct a set out of list items in python?
body: <p>I have a <code>list</code> of filenames in python and I would want to construct a <code>set</code> out of all the filenames.</p>
  
  <pre><code>filelist=[]
  for filename in filelist:
      set(filename)
  </code></pre>
  
  <p>This does not seem to work. How can do this?</p>