Rubik's cube Robot solver

yeah I'm just trying to get to know python a bit better.

now that ive tested the code with the hardware but when i try to "scan colors" the text says " no response from cube explorer" and same when i try reset but not test. but the program opens cube explorer, any ideas