title: Python scripts in /usr/bin
body: <p>I'm writing a pretty basic application in python (it's only one file at the moment). My question is how do I get it so the python script is able to be run in /usr/bin without the .py extension?</p>
  
  <p>For example, instead of running</p>
  
  <pre><code>python htswap.py args
  </code></pre>
  
  <p>from the directory where it currently is, I want to be able to cd to any directory and do</p>
  
  <pre><code>htswap args
  </code></pre>
  
  <p>Thanks in advance!</p>