How do I remove the leading and trailing quotes in the query without getting an error. I have used
if string.startswith(\'"\'): string = string[1:] if s