Skip to content

Instantly share code, notes, and snippets.

@acrymble
Created July 5, 2011 19:13
Show Gist options
  • Select an option

  • Save acrymble/1065618 to your computer and use it in GitHub Desktop.

Select an option

Save acrymble/1065618 to your computer and use it in GitHub Desktop.
Python Replace
text = text.replace('[', '')
text = text.replace(']', '')
text = text.replace(',', '')
#etc...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment