|
|
|
|
|
by maxerickson
4447 days ago
|
|
print as a function made it into Python 2.6 (using future imports). It's probably one of the more purely stylistic choices in 3.X. The function style is probably better for pretty much all shipping code (as opposed to someone typing at an interpreter). The Unicode switchover is where all the pain is, and it isn't particularly clear that there is a good way to do such a thing. |
|
But least for smallish scripts which print a lot it give you a better overview because the print line look different than other lines. Sometimes prints can almost be like comments.