如何使python命令行参数在换行符中继续

 收藏

I have a python program which take a dozen input parameters, so normally I invoke it with python my_script.py --inputA a --inputB b --inputC c --inputD d --inputE e --inputF f --inputG g --inputH h --inputI i --inputJ j --inputK k

这是一条很长的线,而且不容易阅读

I tried add \ charactor after --inputA a in command line, but after return the return key, it will run, not wait for me to input another input parameter

回复