In this video, I wrote a python 3 program to perform crud operations on CSV spreadsheet file. I did all the three operations create, read, and update on a csv file. This tutorial is for beginners and intermediates on python2 and python3.
I imported csv python package and used two common csv methods writer and reader. I inserted list of dictionaries to csv file and later read the file and printed it using print() function.
I use python extension on visual studio code and pylint for python linting check. All my python codes are run on python virtual environment created using VENV on Windows 7
In case, you want to jump to a particular operation:
01:00 Create a csv file
07:45 Read from a csv file
11:06 Update the csv file
Find me in
Official Website: https://www.surajsharma.net