Split the string s using shell-like syntax. ... from shlex import quote >>> command = 'ls -l {}'.format(quote(filename)) >>> print(command) ls -l 'somefile; ...
確定! 回上一頁