selpo

Results 1 comments of selpo

```py import argparse parser = argparse.ArgumentParser() parser.add_argument('--hello-world') print(parser.parse_args(["--hello-world", "hoge"])) # -> Namespace(hello_world='hoge') ``` A hyphen `-` used in name of arguments is automatically converted into underscore `_` by `argparse`.