Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import keyboard
- import time
- while True:
- if keyboard.read_key() == "ctrl":
- if keyboard.read_key() == "insert":
- print("You pressed ctrl + insert")
- time.sleep(1)
- keyboard.write("") # Фамилия
- keyboard.send("tab")
- time.sleep(0.2)
- keyboard.write("") # Имя
- keyboard.send("tab")
- time.sleep(0.2)
- keyboard.write("") # Отчество
- keyboard.send("tab")
- time.sleep(0.2)
- keyboard.write("") # Академическая группа
- keyboard.send("tab")
- time.sleep(0.2)
- keyboard.write("") # Номер профсоюзника
- keyboard.send("tab")
- time.sleep(0.2)
- break
- # python -m venv venv
- # venv\Scripts\activate
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement