I am trying to use argparse module to get command line arguments for script, but getting attribute error. Here is a part of code. I will appreciate any help.