Slight edit to py code

Added a newline character in front of the reply from python.