Please use ```subprocess.check_output(...).decode('utf-8')``` instead. This is more forward compatible with python3 and easier to read.