I just have a quick question. In the simple module import sys, you can identify an argument's position like so:
if len(sys.argv)==2:
csvFile = sys.argv[1]
this lets you store the second argument inputted by the user at the command line into the variable csvFile. I was just wondering how you would do this using argparse module because when i tried using if len(sys.argv)==2
using argparse it gave me an error: 'module' has no attribute 'args'
.