How to use python to open the notepad, and then write a message, and finally using python execute the command ctrl + z
How to use python to open the notepad, and then write a message, and finally using python execute the command ctrl + z
You can use PyAutoGUI , which provides ways to control your mouse and keyboard.
Or run commands through subprocess .