The argparse module which the code uses to allow files to be passed as arguments currently takes the file names as strings and then opens them manually. Arparse can automate that using FileType objects, which would make file checking more robust and decrease the size and complexity of the codebase.
The argparse module which the code uses to allow files to be passed as arguments currently takes the file names as strings and then opens them manually. Arparse can automate that using FileType objects, which would make file checking more robust and decrease the size and complexity of the codebase.