400 to and fro python