On 18/01/2017 21:34, MRAB wrote:
If you're wondering about the blank lines, it's because the lines end with '\n', which starts a new line, and the print function also starts a new line after printing the string.Try stripping the '\n' off the end of the line read in with the .rstrip method.
Thank you for your kind cooperation -- https://mail.python.org/mailman/listinfo/python-list