TV remote control using Python