punctuation list python code example Example: punctuation list python import string punc_list = string.punctuation #returns a list of punctuation