Question: Create a file called 01.py. This file will use two positional command line arguments: inputfile and It will also use one optional argument, d or




Create a file called 01.py. This file will use two positional command line arguments: inputfile and It will also use one optional argument, d or --delimeter. These are defined below. A file to be used for this task, Processinfo.txt, is included in this repository, as well as a backup in case you accidentally change the file. One of the test cases ensures file integrity for this task. Arguments inputfile - The name of the file that provides input for the program format - The order in which to print out the information, separated by commas Possible options are Handle, Handles, ProcessName, ExecutablePath, and Name -d (--delimeter) - The character to use when separating items on the same line Sample Command Line Usage python 01.py ProcessInfo.txt - " "@" Handle, Handles, ProcessName, ExecutablePath, Name Sample Output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
