Pi python working