In [1]:
import textwrap
textwrap.dedent¶
In [2]:
s = """\
if [[ -f ... ]]; then
echo
fi
"""
In [3]:
print(textwrap.dedent(s))
In [ ]:
import textwrap
s = """\
if [[ -f ... ]]; then
echo
fi
"""
print(textwrap.dedent(s))