shlex
index
/usr/lib/python1.5/shlex.py
# Module and documentation by Eric S. Raymond, 21 Dec 1998
Modules
os
string
sys
Classes
shlex
class
shlex
A lexical analyzer class for simple shell-like syntaxes.
__init__
(self, instream
=None
)
get_token
(self)
Get a token from the input stream (or from stack if it's monempty)
push_token
(self, tok)
Push a token onto the stack popped by the get_token method