I am new with this argparse module.
import argparse
parser = argparse.ArgumentParser(description='Input & Output Files')
parser.add_argument('indir', type=str, help='Input File Path')
parser.add_argument('outdir1', type=str, help='Output File Path 1')
parser.add_argument('outdir2', type=str, help='Output File Path 2')
parser.add_argument('outdir3', type=str, help='Output File Path 3')
args = parser.parse_args()
print(args.indir)
Here is my code to get input and output. Below is how user should write to run my code including given input & output.
python3.7.4 test.py /input /output1 /output2 /output3
I would like to ask if it is possible if i can asked the user to enter the input & output one by one as the arguments have a very long path. For example maybe the user can type input
first the followed by output1, output2 and output3.