a guest Jun 26th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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('Неправильно')
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand