title: Reading the target of a .lnk file in Python?
body: <p>I'm trying to read the target file/directory of a shortcut (<code>.lnk</code>) file from Python. Is there a headache-free way to do it? The spec is way over my head.
  I don't mind using Windows-only APIs.</p>
  <p>My ultimate goal is to find the <code>&quot;(My) Videos&quot;</code> folder on Windows XP and Vista. On XP, by default, it's at <code>%HOMEPATH%\My Documents\My Videos</code>, and on Vista it's <code>%HOMEPATH%\Videos</code>. However, the user can relocate this folder. In the case, the <code>%HOMEPATH%\Videos</code> folder ceases to exists and is replaced by <code>%HOMEPATH%\Videos.lnk</code> which points to the new <code>&quot;My Videos&quot;</code> folder. And I want its absolute location.</p>