diff --git a/main.py b/main.py index 2dd23e328d7b684c7a51190257585e5b7ce4bdde..a3b60cbdd5834f326273a5765e697fb2ffd4c584 100644 --- a/main.py +++ b/main.py @@ -197,7 +197,7 @@ def calc_part_1(): student_array = [] # Open file. - with open('./documents/data.online.scores.txt', 'r') as student_scores_file: + with open('./documents/data/data.online.scores.txt', 'r') as student_scores_file: # Read in each line and save to our struct. for line in student_scores_file: # Split on tabs. @@ -246,7 +246,7 @@ def calc_part_2(): student_array = [] # Open file. - with open('./documents/data.online.scores.txt', 'r') as student_scores_file: + with open('./documents/data/data.online.scores.txt', 'r') as student_scores_file: # Read in each line and save to our struct. for line in student_scores_file: # Split on tabs. @@ -331,7 +331,7 @@ def calc_part_3(): lib_array = [] # Open file. - with open('./documents/data.libraries.inventories.txt', 'r') as student_scores_file: + with open('./documents/data/data.libraries.inventories.txt', 'r') as student_scores_file: # Read in each line and save to our struct. for line in student_scores_file: # Split on tabs.