A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2003-April/034759.html below:

[Python-Dev] shellwords

[Python-Dev] shellwords [Python-Dev] shellwordsGreg Ward gward@python.net
Sat, 19 Apr 2003 12:15:18 -0400
On 16 April 2003, Gustavo Niemeyer said:
> Is there any chance of getting shellwords[1] into Python 2.3? It's very
> small module with a pretty interesting functionality:

It's already there (and has been since Python 1.6), albeit with a
different name and implementation:

>>> import distutils.util
>>> distutils.util.split_quoted('arg "arg arg" arg "arg" -o="arg arg"')
['arg', 'arg arg', 'arg', 'arg', '-o=arg arg']

        Greg
-- 
Greg Ward <gward@python.net>                         http://www.gerg.ca/
I'd like some JUNK FOOD ... and then I want to be ALONE --



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4