You’re probably writing some awesome python scripts in Windows using Notepad++. No? Well, take the opportunity and give it a shot. While you’re doing that you might find that you want a quick way to execute the script you’re writing. Here’s how I configure it to execute:
1st – Install Notepad++ and Python (from python.org)
2nd – In Notepad++ go to Run> Run…
3rd – enter the following command:
cmd /K python "$(FULL_CURRENT_PATH)"
4th – click Save…
5th – Select a hotkey combination. I use Alt + Shift + P
You’re done. Now when you have a saved python script you’re working on and you hit your hotkey, it will execute in a command prompt. You can type “exit” to close the executed command prompt and never have to take your fingers off the keyboard.