Use six to write portable code