how to add multiple argument options in python using argparse?
问题 My Requirement: For now when I run my python application with this command python main.py -d listhere/users.txt The program will run and save the result file as predefined name say reports.txt Now I want to add this functionality to allow users to choose what to put the filename and where to save as so python main.py -d -o output/newfilname -i listhere/users.txt Everything is same but I want another argument -o to be passed which will determine the filpath and name to be saved. How do I do it