Skip to content

Instantly share code, notes, and snippets.

@ryugoo
Created September 14, 2012 11:11
Show Gist options
  • Save ryugoo/3721349 to your computer and use it in GitHub Desktop.
Save ryugoo/3721349 to your computer and use it in GitHub Desktop.
文字列から特定の文字を削除するスクリプト
import string
source_str = ""
delete_str = ""
my_str = source_str.translate(string.maketrans("", ""), delete_str)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment