python remove single quotes from string code example
Example 1: how to remove quotes from a string in python
originalString = ""
originalString.strip(characters you want stripped)
Example 2: remove single and double quotes from string python
a_string = '"ab"cd"'
stripped_string = a_string.strip('"') # Only removes quote marks at each end
# of the string.
print(stripped_string) #Output: ab"cd
replaced_string = a_string.replace('"',"") #Removes al quote marks from
# string.
print(replaced_string) #Output: abcd