output xyab table - lists the pyautogui keyboard key strings that you can pass to write(to simulate pressing any combination of keys you can also examine the pyautogui keyboard_keys list to see all possible keyboard key strings that pyautogui will accept the 'shiftstring refers to the left shift key and is equivalent to 'shiftleftthe same applies for 'ctrl''alt'and 'winstringsthey all refer to the left-side key table - pykeyboard attributes keyboard key string meaning ' '' '' '' '' '' '' '' '' ''!''@''#'and so on the keys for single characters 'enter(or 'returnor '\ 'the enter key 'escthe esc key 'shiftleft''shiftrightthe left and right shift keys 'altleft''altrightthe left and right alt keys 'ctrlleft''ctrlrightthe left and right ctrl keys 'tab(or '\ 'the tab key 'backspace''deletethe backspace and delete keys 'pageup''pagedownthe page up and page down keys 'home''endthe home and end keys 'up''down''left''rightthe updownleftand right arrow keys ' '' '' 'and so on the to keys 'volumemute''volumedown''volumeupthe mutevolume downand volume up keys (some keyboards do not have these keysbut your operating system will still be able to understand these simulated keypresses'pausethe pause key 'capslock''numlock''scrolllockthe caps locknum lockand scroll lock keys 'insertthe ins or insert key 'printscreenthe prtsc or print screen key 'winleft''winrightthe left and right win keys (on windows'commandthe command (key (on macos'optionthe option key (on macospressing and releasing the keyboard much like the mousedown(and mouseup(functionspyautogui keydown(and pyautogui keyup(will send virtual keypresses and releases to the computer they are passed keyboard key string (see table - for their argument for conveniencepyautogui provides the pyautogui press(functionwhich calls both of these functions to simulate complete keypress controlling the keyboard and mouse with gui automation