diff --git a/extractData.py b/extractData.py deleted file mode 100644 index 9238f1d8bd65bf7851742b74cf44811e0b3934b4..0000000000000000000000000000000000000000 --- a/extractData.py +++ /dev/null @@ -1,18 +0,0 @@ -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.') diff --git a/temp/test.csv b/temp/test.csv deleted file mode 100644 index 8f79ecc572bf09973349f638adb92c1898460c13..0000000000000000000000000000000000000000 --- a/temp/test.csv +++ /dev/null @@ -1,9 +0,0 @@ -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