Skip to content
Snippets Groups Projects
Commit 556f7137 authored by James D'Alton's avatar James D'Alton
Browse files

removed old redundant files

parent c50c4928
No related branches found
No related tags found
No related merge requests found
import csv
tableData = {}
with open('temp/test.csv') as compliance_data:
compliance_data_reader = csv.reader(compliance_data, delimiter=',')
line_count = 0
for row in compliance_data_reader:
number_of_columns = len(row)
if line_count == 0:
print(f'{" ".join(row)}')
line_count += 1
else:
# row[1] is the 2nd column, not row
for column in row:
print(f'{column}')
tableData[row[0]] = row[1]
line_count += 1
print(f'Done: Processed {line_count} lines.')
Data, Data Type
Name of person completing form, string
Position of person completing form, string
On behalf of (company name), string
Firewalls, boolean
Secure Configuration, boolean
User Access Control, boolean
Malware Protection, boolean
Patch Management, boolean
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment