What is the right way to treat argparse.Namespace() as a dictionary? What is the right way to treat argparse.Namespace() as a dictionary? python python