[issue45824] CSV module document does not include how to append files

2021-11-17 Thread Eric V. Smith


Eric V. Smith  added the comment:

I agree with Raymond.

--
nosy: +eric.smith

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45824] CSV module document does not include how to append files

2021-11-16 Thread Raymond Hettinger

Raymond Hettinger  added the comment:

I don't think that is the job of CSV docs.  Appending is a general skill and 
not specific to that module.

Likewise, the CSV module docs don't cover other general file manipulation 
skills like closing, using seek() to rewind, manipulating filenames and paths, 
setting permissions, etc.

The csv.writer docs seem reasonable to me:

"""Return a writer object responsible for converting the user’s data into 
delimited strings on the given file-like object. csvfile can be any object with 
a write() method."""

--
nosy: +rhettinger

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45824] CSV module document does not include how to append files

2021-11-16 Thread Wesley Altham


Wesley Altham  added the comment:

I now see other things on it but I think the doc should have it as well

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45824] CSV module document does not include how to append files

2021-11-16 Thread Wesley Altham


New submission from Wesley Altham :

easy- The CSV module does not include how to append a file which is using 'a' 
and not 'w' or 'r'. There might be more to appending but it is not documented 
for me to know, I saw a stackoverflow post about it when I looked and I tried 
it and worked. I hope whoever knows the CSV module could document append at all.

--
messages: 406438
nosy: wesrl
priority: normal
severity: normal
status: open
title: CSV module document does not include how to append files
type: enhancement
versions: Python 3.10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com