import argparse
python Test.py --help
选择性添加参数 python test.py --PartA 4
argparse
原文:https://www.cnblogs.com/0916m/p/11484337.html