print_function and pep8

Supporting Python 2 and 3