you should join using u'\r\n' --- the point of using textwrap() is to provide a list of lines -- if you join by u'' then you are printing one very very long line