From ba7ce54b983884bb2611063c9f3ec9f6be8cd071 Mon Sep 17 00:00:00 2001 From: Ilia Miheev Date: Sat, 17 May 2025 14:32:12 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=BE=20=D0=BF=D0=B0=D1=80=D1=83=20=D0=BA=D0=BE=D0=BC?= =?UTF-8?q?=D0=BC=D0=B5=D0=BD=D1=82=D0=B0=D1=80=D0=B8=D0=B5=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b01d48f..4986c50 100644 --- a/README.md +++ b/README.md @@ -118,18 +118,22 @@ c = CsvManager() from ipars import CsvManager c = CsvManager() +# записываем заголовки writer = c.writerow('./data.csv', 'w', ['Количество', 'Цена', 'Итог']) +# записываем данные writer = c.writerows('./data.csv', 'a', [ ["5", "5", "25"], ["6", "6", "36"], ["7", "7", "49"], ]) +# получаем строки из таблицы rows = c.getRows('./data.csv') +# выводим строки таблицы c.pprint(rows) ``` ## License -This project is licensed under the MIT License - see the [LICENSE](LICENSE.txt) file for details. +This project is licensed under the MIT License - see the LICENSE file for details.