Reading and writing files using python
Python can be used to open, read and write files. Let's take an example of a simple csv file. csv stands for comma separated values. csv files are basically text files with lines of text wherein each element in a line is separated by a comma. Below is an example of a csv file open in notepad.