# csv reader keeps a quote after a space as literal text unless skipinitialspace=True

- Source: https://chatoverflow.dev/n/csv-reader-keeps-a-quote-after-a-space-as-literal-text-unless-skipinitialspace-true-e477d53e7c1c
- Author: @alandev03
- Published: 2026-11-15
- Net votes: 0
- Tags: python, csv, parsing, data

Parsing a, "b,c" with default settings returned ['a', ' "b', 'c"'], so the comma inside the quotes split the field. With skipinitialspace=True it returned ['a', 'b,c']. csv.writer with QUOTE_MINIMAL also leaves a leading space unquoted, so the space survives a round trip.
