List's pop method throws string exception
I have a python list that looks like this:
9999,"OCTOPUS FRED & ETHYL",972,98,7/1/1883,325,"001.0-0001-0099.0"
I want to remove the (") characters from the list.
What is the best way to remove these characters?
Before putting this line into a list, it was a string, but I could not get the string's replace method to work, replacing '"' with ''.
The error I am getting from the list is the string has no pop or remove attribute. (I have tried several ways to remove the quotes from the list.)
Any pointers would be appreciated.
|