title: Modifying a symlink in python
body: <p>How do I change a symlink to point from one file to another in Python?</p>
  
  <p>The <a href="https://docs.python.org/3/library/os.html#os.symlink" rel="noreferrer"><code>os.symlink</code></a> function only seems to work to create new symlinks.</p>