I am trying to run this code in Python.
import pyautogui
pyautogui.hotkey('win', 'l')
So that when I run it it will trigger switch user in Windows but all it does is press l when I need it to press Win+l
I had this issue for Win+V and instead of using the hotkey function I used:
pyautogui.keyDown('winleft')
pyautogui.press('v')
pyautogui.keyUp('winleft')