# Wait for installation to complete while ps4.get_installation_status() != "complete": print("Installation in progress...") sys.sleep(1)