A RetroSearch Logo

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

Search Query:

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

[Python-Dev] shellwords

[Python-Dev] shellwords [Python-Dev] shellwordsGuido van Rossum guido@python.org
Wed, 16 Apr 2003 11:45:12 -0400
>     Gustavo> Ok, I'll check if there's an easy way to "turn" shlex into
>     Gustavo> shellwords.
> 
> Cool.  Based on this thread and an experiment I tried, some obvious (to me)
> things come to mind:
> 
>     * get_token() needs to be fixed to handle the 'bar'asd'foo' case
> 
>     * the shlex class should handle strings as input, not just file-like
>       objects
> 
>     * get_word() or get_words() methods in the shlex class could implement
>       the shellwords functionality

I'd be happy to see this done.  You might submit the changes to ESR
for review but he may be busy so don't wait for him.

--Guido van Rossum (home page: http://www.python.org/~guido/)



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