Search code examples
pythonshortcut

Triggering Python Script using Keyboard Shortcut in Windows?


Is it possible to trigger a python script using keyboard shortcut in windows? I could not find any guiding resources relating the same? can someone guide me with it!


Solution

  • On Windows OS create shortcut of Python script and open its properties using Alt+Enter or using context menu. In the shortcut key option add your custom key.

    enter image description here