"When this is all said and done" doesn't read nicely (maybe too informal). Can you changed it to something else? Perhaps, "When the installation has finished we can check if it is successful in the following way. From a Python console ...  ".