Since the python 3 print () function allows you to define end = "", which satisfies most of the questions.
In my case, I wanted PrettyPrint and was disappointed that this module was not updated so much. Therefore, I made it so that I wanted:
from pprint import PrettyPrinter class CommaEndingPrettyPrinter(PrettyPrinter): def pprint(self, object): self._format(object, self._stream, 0, 0, {}, 0)
Now when I do this:
comma_ending_prettyprint(row, stream=outfile)
I get what I wanted (replace what you want - your May run may)
neil.millikin Feb 03 '16 at 7:16 2016-02-03 07:16
source share