submissions_dir_name=''.join(sys.argv[1:])iflen(sys.argv)>1elseexit(f'\nNo submissions dir name given. Provide the name as an argument.\n\nUsage: python {sys.argv[0]} [submissions dir name]\nExample: python {sys.argv[0]} AssignmentX\n')
hashes_csv_file_path=hash_submissions(submissions_dir_path)# generate CSV file with hashes for all files (except for any 'excluded') & return path to CSV file for finding duplicate/suspicious hashes
inspect_for_duplicate_hashes(hashes_csv_file_path)# generate CSV file with files having duplicate/suspicious hashes