also remove py2.7 incompatible flush option in print.