
Fredrik Lundh <fredrik@pythonware.com> wrote:
Charles Cazabon wrote:
in fact, it does nothing for the program but merely has the interesting side-effect of writing to stdout.
yeah, real programmers don't generate output.
That wasn't quite my point - I meant that the rest of Python's statements (to a one) all have a quite fundamental impact on what the code in question means. `print` doesn't. I write data filters in Python all the time -- but I virtually never use `print`. stdout.write() is more consistent /and/ parallel to stdin.read(). `print` should go away, at least as a statement. Charles -- ----------------------------------------------------------------------- Charles Cazabon <python@discworld.dyndns.org> GPL'ed software available at: http://pyropus.ca/software/ -----------------------------------------------------------------------