end of print = lower productivity ?

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Mon Dec 1 08:57:24 CET 2008


In message
<a6c5e022-d7ee-4ca4-ab0e-c0c5e62a3c8a at l42g2000yqe.googlegroups.com>,
cptnwillard at gmail.com wrote:

> Now the print statement disappeared, and I have to write print("f")
> instead. These parentheses not only take time to write, they also make
> me think twice about using print for debugging purposes.

Trouble is, print defaulted to printing to stdout, and I usually wanted
debug messages to go to stderr. So print saved me nothing, which is why I
never got into the habit of using it.



More information about the Python-list mailing list