Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- args = ['irsend', '-#', '1', 'SEND_ONCE', command[0], command[1]]
- try:
- led_blink("red",1)
- print(msg)
- os.system(aquest_dir + msg + ' | aplay')
- os.system('python ' + bme_command)
- os.system('python ' + camera_command)
- cam_msg = '写真を撮ってラインに送りました!'
- os.system(aquest_dir + cam_msg + ' | aplay')
- subprocess.Popen(args)
- print(command)
- led_blink("green",3)
- except OSError:
- print('command not found.')
Add Comment
Please, Sign In to add comment