diff --git a/README.md b/README.md index 35ae208..ecf964c 100644 --- a/README.md +++ b/README.md @@ -1818,6 +1818,7 @@ import csv * **File must be opened with a `'newline=""'` argument, or newlines embedded inside quoted fields will not be interpreted correctly!** * **To print the spreadsheet to the console use [Tabulate](#table) library.** * **For XML and binary Excel files (xlsx, xlsm and xlsb) use [Pandas](#dataframe-plot-encode-decode) library.** +* **Reader accepts any iterator of strings, not just files.** ### Write ```python diff --git a/index.html b/index.html index 9340cbf..1c7c430 100644 --- a/index.html +++ b/index.html @@ -1515,6 +1515,7 @@ CompletedProcess(args=['bc', 'newline=""' argument, or newlines embedded inside quoted fields will not be interpreted correctly!
  • To print the spreadsheet to the console use Tabulate library.
  • For XML and binary Excel files (xlsx, xlsm and xlsb) use Pandas library.
  • +
  • Reader accepts any iterator of strings, not just files.
  • Write

    <writer> = csv.writer(<file>)       # Also: `dialect='excel', delimiter=','`.
     <writer>.writerow(<collection>)     # Encodes objects using `str(<el>)`.