Pyautogui 命令的热键是什么?

What is the hotkey for command in Pyautogui?

我正在摆弄 PyAutoGUI,我正在学习 hotkey 函数。我想让它按 Command+R,但我找不到关键字(比如 control 变成 ctrl)。这是什么?

我正在使用 Pycharm。我完全知道这会导致永远循环。

我正在向 this tutorial 学习。

感谢帮助!

命令的关键字就是command

所以 pyautogui.hotkey('command', 'r') 应该可以正常工作。

Documentation