Text Wrap

  • + 0 comments
    def wrap(string, max_width):
    return "\n".join(textwrap.wrap(string, max_width))