how to strip quotation marks in python code example Example: how to strip quotation marks in python stripped_string = a_string.strip('"')