I am writing a code which needs enter, copying and pasting:
so far I have managed to do the enter with this
shell = win32com.client.Dispatch("WScript.Shell")
shell.SendKeys("{ENTER}", 0)
is there a way to do the same for ctrl c and v
pyperclip has not worked well but this has magnifiecently so I just wanted to ask.
The answer is use pynput:
Here is something I did. w/ if statement