Seeing how my transition to Py3 got hung up on sending bytes in and out of ZeroMQ sockets, I might stop that now.
Back to the for loop or join the strings as suggested below.
>>> from pprint import pprint; pprint(list_of_tuples)
Not as nice, but doable.
PRINT TO A FILE, OR STDERR
print >> sys.stderr, "blah"
What are those '>' signs here? Why two? What happens if I use one only?
Compare this to (py3k):
PRINT WITHOUT NEW LINE
I can't use print to print?
In python 2 there are 2 or 3 different ways to do that, all more complicated than each other. Compared to:
Finally, it's a function, you can do everything you do with a function, use map, return a print from another function, include it in generator expressions etc...
You can. Compare the output from: