how to quote for command line usage - library support in python shlex — Simple lexical analysis — Python 3.8.3 documentation Link