csv manipulation python

import csv
csv.register_dialect('unixpwd', delimiter=':', quoting=csv.QUOTE_NONE)
with open('passwd', newline='') as f:
    reader = csv.reader(f, 'unixpwd')

Here is what the above code is Doing:
1. It’s registering a new dialect called ‘unixpwd’ with the csv module.
2. It’s opening the passwd file in read mode.
3. It’s creating a reader object using the unixpwd dialect.
4. It’s looping through the reader object, printing each row.