Добавлено пару комментариев

This commit is contained in:
Ilia Miheev
2025-05-17 14:32:12 +03:00
parent b55c38e3f5
commit ba7ce54b98
+5 -1
View File
@@ -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.