title: How to access file metadata with Python?
body: <p>I'm trying to write a program in python that retrieves and updates file metadata on windows. I've tried searching on Google regarding what modules to use but I haven't found anything very concrete or useful.</p>
  
  <p>Some people suggested the <a href="http://www.python.org/doc/2.5.2/lib/module-stat.html" rel="nofollow noreferrer">stat module</a> which can give you info such as file access and last modification. But I'm looking to retrieve other types of metadata available on Windows. For example tags, author, rating, artists etc.</p>
  
  <p>How can I retrieve this information for a file using Python?</p>
  
  <p>Thanks</p>