Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. import time
  2. import os
  3. print('Введите сочитание клавиш')
  4. while True:
  5. a=input()
  6. if a == 'n' or 'т':
  7. os.startfile(r"C:Program FilesSublime Text 3sublime_text.exe")
  8. elif a == 'v'or'м':
  9. os.startfile(r"C:Windowsexplorer.exe")
  10. else:
  11. print('Неправильно')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement