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 "Open with Application: MyCode.py", but I have no clue how.
Do I have to make a .exe? I probably need to import something...
I'm on Linux but Windows answer is also welcome. Thx.