python2 formatting