How to split a string into command line arguments like the shell in python?

前端 未结 3 1392
情话喂你
情话喂你 2020-12-20 15:21

I have command line arguments in a string and I need to split it to feed to argparse.ArgumentParser.parse_args.

I see that the documentation uses

3条回答
提交回复
热议问题