PyDocs
Standard Library
(3.15.2)
Quick Reference
Log In
Nav
Top
Examples
0
See Also
0
Notes
0
Unix-specific services
fcntl
grp
posix
pty
pwd
resource
shlex
syslog
termios
tty
All modules
PyDocs
Standard Library
Quick Ref
Log In
Staging: this is not the live site, pydocs.org.
PyDocs
Standard Library
Quick Ref
Log In
Nav
Top
Examples
0
See Also
0
Notes
0
Unix-specific services
fcntl
grp
posix
pty
pwd
resource
shlex
syslog
termios
tty
All modules
split
shlex
function
(
source
)
split(s, comments=False, posix=True)
Split the string *s* using shell-like syntax.
© Python Software Foundation.
PSF License Version 2
·
Official docs ↗
Changed in 3.12
3.12:
Passing None for s argument now raises an exception, rather than reading sys.stdin.
0 Examples
No examples for shlex/split.
Log in
to add an example
See Also
No see-alsos for
shlex/split
Log in
to add a see-also
0 Notes
No notes for
split
Log in
to add a note