string.punctuation
"""!Hello.""".strip(string.punctuation)
""" """.join(word.strip(string.punctuation) for word in
    "Hello, world. I'm a boy, you're a girl.".split())
strip punctuation with regex - python