Skip to content

Instantly share code, notes, and snippets.

@solomon081
Created April 2, 2012 02:50
Show Gist options
  • Select an option

  • Save solomon081/2280175 to your computer and use it in GitHub Desktop.

Select an option

Save solomon081/2280175 to your computer and use it in GitHub Desktop.
Dedenter
stext = input("Enter your text: ")
dedented = textwrap.dedent(stext)
print(dedented)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment