Documentation here: http://docs.python.org/2/library/shlex.html#shlex.shlex