Skip to content

Commit

Permalink
added arguments to ease import
Browse files Browse the repository at this point in the history
  • Loading branch information
desafinadude committed Jun 18, 2024
1 parent 45434dd commit 4776f54
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

import re
import sys
import argparse
import unicodecsv
import string
import datetime
Expand Down Expand Up @@ -36,9 +37,14 @@
YEAR = "2019"
COMMIT = False

csv_files = [
'test-run.csv'
]
parser = argparse.ArgumentParser(description='Process some CSV files.')
parser.add_argument('csv_files', nargs='+', help='List of CSV files to process')

# Parse the arguments
args = parser.parse_args()

# Use the csv_files from the arguments
csv_files = args.csv_files

candidates = []

Expand Down

0 comments on commit 4776f54

Please sign in to comment.