how to run python script on client side