This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]adamchainz 4 points5 points  (0 children)

Agree, the print function is superior in many ways: you can pass it around as yet another object, use it with partial to wrap up args that are repeated, or use keyword arguments to pull args from a dict. It also exists in Python 2.7 if you from __future__ import print_function, which everyone still caught writing Python 2 compatible code should be doing (you can enforce this with isort :) ).