unicode
|
|
unicode
|
|
str
|
|
list of: str or unicode
|
chop(s,
n=1,
d=None)
Chops initial words from a string and returns a list of them and the rest of the string. |
source code
|
|
dict
|
args2dict(s)
Converts a string or comma-separated 'ARG="a value"' or 'ARG=value2' strings
into a dictionary. |
source code
|
|
str or unicode
|
quote(s,
always=False)
Adds double-quotes to string if it contains spaces. |
source code
|
|
list of str or unicode
|
|
same as type of truevalue or falsevalue
|
cndexp(condition,
truevalue,
falsevalue)
Simulates a conditional expression known from C or Python 2.5. |
source code
|
|