SyntaxFix
Write A Post
Hire A Developer
Questions
If you want to replace the nulls with something you can do this:
def fix_nulls(s): for line in s: yield line.replace('\0', ' ') r = csv.reader(fix_nulls(open(...)))