Swap python spacing