3 ms·
I write Python 2 code, and just always use `print("...")` in both. It makes a lot more sense, matches other languages syntax, and is compatible in both. I hones
by eugenekolo2 11y ago
I write Python 2 code, and just always use `print("...")` in both. It makes a lot more sense, matches other languages syntax, and is compatible in both. I honestly don't see it in any way worse than `print "...."`.
- chucksmash 11y agoAgreed. Still on Python 2.7 but at some point last year I just decided I'd always: from __future__ import print_function When I needed to print and it's just habit now..
- deleted 11y ago[deleted]
- kevin_thibedeau 11y agoBeen using most of __future__ for years to make the transition seamless for me. This is what Py 2.x devs should be doing now. It's not like the path forward hasn't been paved for us for many years.