On this page
  1. csv.excel
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

csv.excel

Prev: csv.Error | Up: csv | Next: csv.excel_tab
Rel: csv.Dialect, csv.DictReader, csv.DictWriter, csv.Error
Ref: docs.python.org — csv.excel
Tags: #public #python3 #stdlib #csv


Import

import csv
from csv import excel

Signature & Overview

csv.excel()

Describe the usual properties of Excel-generated CSV files.

Usage

import csv
import io

rows = list(csv.reader(io.StringIO('a,"b,c"\n'), dialect=csv.excel))
assert rows == [["a", "b,c"]]

Gotchas

REPL Inspect

from csv import excel
help(excel)

Linked from

Related notes