Block or Report
Block or report yjcrocks
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
-
-
Draw box around the text. Great for ...
Draw box around the text. Great for debugging. 1def print_box(text, line_width=2, s="#"):
2text = [t.strip() for t in text.strip().split("\n")]
3max_len = max(len(t) for t in text)
4text = [t.ljust(max_len) for t in text]
5cols = max_len + (line_width + 2 * line_width) * 2
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.