If you're a six user to smooth over the Python 2 and 3 differences, its print_() function also simplifies the task of "just print some text". Of course, as your article says, there's quite a bit more to it than that... not to mention that you can use the magic method system to define what Python should do when asked to print one of your objects.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
If you're a
six
user to smooth over the Python 2 and 3 differences, itsprint_()
function also simplifies the task of "just print some text". Of course, as your article says, there's quite a bit more to it than that... not to mention that you can use the magic method system to define what Python should do when asked to print one of your objects.