Guest User

Untitled

a guest
Feb 17th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. args = ['irsend', '-#', '1', 'SEND_ONCE', command[0], command[1]]
  2. try:
  3. led_blink("red",1)
  4. print(msg)
  5. os.system(aquest_dir + msg + ' | aplay')
  6. os.system('python ' + bme_command)
  7. os.system('python ' + camera_command)
  8. cam_msg = '写真を撮ってラインに送りました!'
  9. os.system(aquest_dir + cam_msg + ' | aplay')
  10. subprocess.Popen(args)
  11. print(command)
  12. led_blink("green",3)
  13. except OSError:
  14. print('command not found.')
Add Comment
Please, Sign In to add comment