title: how to simulate a symlink from a .py file to a .pyw file?
body: <p>I want to have 2 copies of my python script, one as <code>.py</code> extension and the other as <code>.pyw</code> extension (Windows version, no console)</p>
  <p>That allows me to run the <code>.py</code> file and get output from console (from command line) and associate the <code>.pyw</code> file to graphical programs.</p>
  <p>Of course, the worst option is to duplicate files, which works but maintainability suffers.</p>
  <p>When I was using clearcase, I used to create a symlink from one file to another but symlinks aren't the best choice when managing a code base.</p>
  <p>I could create a helper module that I import in both cases to share the maximum of source code, but I have a lot of scripts in that case, and I'd like a generic solution.</p>
  <p>What's the alternative to copying the whole file?</p>