title: How to use Python to "Open Application With:"
body: <p>My python code takes in a text file and outputs the common words. I want to be able to right-click a text a file and be able to &quot;Open with Application: MyCode.py&quot;, but I have no clue how.</p>
  <p>Do I have to make a .exe? I probably need to import something...</p>
  <p>I'm on Linux but Windows answer is also welcome. Thx.</p>