From be5d0049e6ab57ceafe1e504a126267a37e95e42 Mon Sep 17 00:00:00 2001 From: Ascotbe <869335729@qq.com> Date: Wed, 21 Sep 2022 10:42:31 +0800 Subject: [PATCH] Repair no import csv --- source/c06/p01_read_write_csv_data.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/source/c06/p01_read_write_csv_data.rst b/source/c06/p01_read_write_csv_data.rst index 9f015b52..a65cf5d6 100644 --- a/source/c06/p01_read_write_csv_data.rst +++ b/source/c06/p01_read_write_csv_data.rst @@ -42,6 +42,7 @@ .. code-block:: python from collections import namedtuple + import csv with open('stock.csv') as f: f_csv = csv.reader(f) headings = next(f_csv)