简体   繁体   English

在 Windows 中使用键盘快捷键触发 Python 脚本?

[英]Triggering Python Script using Keyboard Shortcut in Windows?

Is it possible to trigger a python script using keyboard shortcut in windows?是否可以使用 windows 中的键盘快捷键触发 python 脚本? I could not find any guiding resources relating the same?我找不到任何相关的指导资源? can someone guide me with it!有人可以指导我吗!

On Windows OS create shortcut of Python script and open its properties using Alt+Enter or using context menu .在 Windows 操作系统上创建 Python 脚本的快捷方式并使用Alt+Enter或使用context menu打开其属性。 In the shortcut key option add your custom key.shortcut key选项中添加您的自定义键。

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM