M
Martin Bless
Currently QUOTE_MINIMAL in the standard module CSV only reacts to
"delimiter" and "quotechar". From the documentation:
Currently:
"""
QUOTE_MINIMAL
Instructs writer objects to only quote those fields which contain the
current delimiter or begin with the current quotechar.
"""
In my opinion there should be a way to turn on quoting as well for
those fields, that start with white space characters if the dialect
specifies
dialect.skipinitialspace = False
I wouldn't mind a change leading to this variant:
Proposal:
"""
QUOTE_MINIMAL
Instructs writer objects to only quote those fields which contain the
current delimiter or begin with the current quotechar or start
with a [blank | white space character] if the dialect specifies
skipinitialspace=False.
"""
What do you think?
MB - Martin Bless
"delimiter" and "quotechar". From the documentation:
Currently:
"""
QUOTE_MINIMAL
Instructs writer objects to only quote those fields which contain the
current delimiter or begin with the current quotechar.
"""
In my opinion there should be a way to turn on quoting as well for
those fields, that start with white space characters if the dialect
specifies
dialect.skipinitialspace = False
I wouldn't mind a change leading to this variant:
Proposal:
"""
QUOTE_MINIMAL
Instructs writer objects to only quote those fields which contain the
current delimiter or begin with the current quotechar or start
with a [blank | white space character] if the dialect specifies
skipinitialspace=False.
"""
What do you think?
MB - Martin Bless