What is a namespace object?

The documentation for argparse.Namespace can be found here. You can access the s attribute by doing args.s. If you’d like to access this as a dictionary, you can do vars(args), which means you can also do vars(args)[‘s’]