Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

csv in python

import csv
csv.register_dialect('unixpwd', delimiter=':', quoting=csv.QUOTE_NONE)
with open('passwd', newline='') as f:
    reader = csv.reader(f, 'unixpwd')
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #csv #python
ADD COMMENT
Topic
Name
8+6 =