[Python-Dev] shellwords
Gustavo Niemeyer
niemeyer@conectiva.com
Wed, 16 Apr 2003 11:56:03 -0300
Good morning/afternoon!
Is there any chance of getting shellwords[1] into Python 2.3? It's very
small module with a pretty interesting functionality:
[niemeyer@localhost ..-shellwords-0.2]% python
Python 2.2.2 (#1, Apr 10 2003, 13:50:16)
[GCC 3.2.2] on linux-ppc
Type "help", "copyright", "credits" or "license" for more information.
>>> import shellwords
>>> shellwords.shellwords('arg "arg arg" arg "arg" -o="arg arg"')
['arg', 'arg arg', 'arg', 'arg', '-o=arg arg']
>>>
[1] http://www.crazy-compilers.com/py-lib/shellwords.html
--
Gustavo Niemeyer
[ 2AAC 7928 0FBF 0299 5EB5 60E2 2253 B29A 6664 3A0C ]