I'm working on a script to remove bad characters from a csv file then to be stored in a list.
The script runs find but doesn't remove bad characters so I'm a bit puzzled any pointers or help on why it's not working is appreciated
def remove_bad(item):
    item = item.replace("%", "")
    item = item.replace("test", "")
    return item
raw = [] 
with open("test.csv", "rb") as f:
    rows = csv.reader(f)
    for row in rows:
        raw.append((remove_bad(row[0].strip()),
                    row[1].strip().title()))
print raw
