import time

import pykeyboard


# TODO: Replace following two lines with the code that activate the application.
print('Activate the application 3 seconds.')
time.sleep(3)

k = pykeyboard.PyKeyboard()
k.press_key(k.left_key)
time.sleep(1) # Hold down left key for 1 second.
k.release_key(k.left_key)

[((8, 0, 8, 13), 'time.sleep', 'time.sleep', ({(8, 11, 8, 12): '(3)'}, {}), '(3)', False, 'import time\n'), ((10, 4, 10, 27), 'pykeyboard.PyKeyboard', 'pykeyboard.PyKeyboard', ({}, {}), '()', False, 'import pykeyboard\n'), ((12, 0, 12, 13), 'time.sleep', 'time.sleep', ({(12, 11, 12, 12): '(1)'}, {}), '(1)', False, 'import time\n')]