From 556f7137a48653624cc3d08249b2a3fac36dcf7a Mon Sep 17 00:00:00 2001 From: James D'Alton <jda1g15@soton.ac.uk> Date: Thu, 7 May 2020 19:39:14 +0100 Subject: [PATCH] removed old redundant files --- extractData.py | 18 ------------------ temp/test.csv | 9 --------- 2 files changed, 27 deletions(-) delete mode 100644 extractData.py delete mode 100644 temp/test.csv diff --git a/extractData.py b/extractData.py deleted file mode 100644 index 9238f1d8..00000000 --- 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 8f79ecc5..00000000 --- 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 -- GitLab