Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pyautogui
- import time
- print('Have a text editor open and in focus.')
- print('Program starts in 5 seconds...')
- time.sleep(5)
- pyautogui.typewrite(r"""`1234567890-=qwertyuiop[]\asdfghjkl;'zxcvbnm,./""")
- pyautogui.keyDown('shift')
- pyautogui.typewrite(r"""`1234567890-=qwertyuiop[]\asdfghjkl;'zxcvbnm,./""")
- pyautogui.keyUp('shift')
- """
- Please copy and paste the text that this progam produces, along with your
- keyboard type ("azerty", "qwertz", etc.) and your operating system and
- operating system version to al@inventwithpython.com
- On a qwerty keyboard, this produces the text:
- `1234567890-=qwertyuiop[]\asdfghjkl;'zxcvbnm,./~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:"ZXCVBNM<>?
- """
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement