Less than 1 minute

用途

都是用来解系传入的命令行参数。

$ python main.py -n 3 -v

总结

sys and getoptargpase.md

使用argparse还是比较舒服。