Right now, I'm coding a python SMTP script.
status = clientSocket.recv(1024)
print (status)
When python prints status
, I get:
b'250-mx.google.com at your service, [107.216.175.252]\r\n250-SIZE 35882577\r\n250-8BITMIME\r\n250-AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN\r\n250-ENHANCEDSTATUSCODES\r\n250 CHUNKING\r\n'
However, I want python to turn \r\n
into the actual new lines and not just print it out as one giant line. How would I go about doing this?