#!/usr/bin/python import os message = "-. . - .-- --- .-. -.- ... --- ..-. --- -. . ... --- -. ." for char in message: if char == "-": print("long") cmd = 'dd if=/dev/urandom of=buffer bs=1M count=1 2> /dev/null; sleep 5' os.system(cmd) if char == '.': print("short") cmd = 'dd if=/dev/urandom of=buffer bs=1M count=1 2> /dev/null; sleep 3' os.system(cmd) if char == ' ': print("space") cmd = 'dd if=/dev/urandom of=buffer bs=1M count=1 2> /dev/null; sleep 10' os.system(cmd)blinking-bonus.py