Closed pypingou closed 9 years ago
You can add from __future__ import print_function at the very top of the file to make this work on both py2 and py3, no?
from __future__ import print_function
python 2.6 supports print() so I thought that was simple enough :]
print()
(tested on 2.6.6, rhel6)
Super duper. :+1:
Cool, thanks! :)
You can add
from __future__ import print_function
at the very top of the file to make this work on both py2 and py3, no?