import textwrap
s = """Python is a programming language that lets you work quickly
and integrate systems more effectively. The core of extensible programming
is defining functions. Python allows mandatory and optional arguments,
keyword arguments, and even arbitrary argument lists."""
dedent_text = textwrap.dedent(s)
all = textwrap.fill(dedent_text, width=55)
short_text = textwrap.shorten(all, 80)
short_text_wrap = textwrap.fill(short_text, width=55)
print(short_text_wrap)
'''
run
Python is a programming language that lets you work
quickly and integrate [...]
'''