Closed jlsalmon closed 8 years ago
Loads of people are still on 2.7, be careful. What version is on the pi by default. Ubuntu 14.04 is still on 2.7
Note at the top of the file:
from __future__ import print_function
See here about how __future__
works
Ok, I hadn't used future before, if we include that we should be sure to test it on both versions. Just in case
It works in all versions greater than 2.6.0, it's universally used
OK to merge?
Yea looks harmless
On Mon, May 9, 2016, 23:14 Justin Lewis Salmon notifications@github.com wrote:
OK to merge?
— You are receiving this because you commented.
Reply to this email directly or view it on GitHub https://github.com/CosmicPi/cosmicpi-daq/pull/2#issuecomment-217991987
Julian Lewis Mobile: +33646447515
Whoops sorry about email...
Python 3 doesn't have a print statement, only a builtin function. See here