Converting remaining client executable to Python per @alexschlessinger