title: Changing a files metadata in Python
body: <p>Ok, I've searched around here but haven't found anything pointing to a solid answer.</p>
  
  <p>I'm trying to change a files artist, filename, rating, genre etc in windows, which shows up when you view folders in 'details'.</p>
  
  <p>At the moment I have the files I wish to edit in a list and I am iterating through them, but as I said I am not sure how to change it for each file in the list.</p>
  
  <pre><code>def Files(The_FileList):
  '''Changes each files metadata'''
  for each_file in The_FileList:
  
      #clueless here.
  
  return The_FileList
  </code></pre>
  
  <p>needs to work with .avi/.mkv general movie files as I do alot of encoding.</p>
  
  <p>I'm looking for a simple option as this is all I want to do.</p>
  
  <p>Thanks</p>