Python Flashcards
1
Q
subprocess module
A
Stdlib module that provides an API to spawn new processes, connect to their input/output/error pipes, and obtain their return codes
Recommended approach:
subprocess.run()
(or subprocess.check_output())
2
Q
shlex
A
Stdlib module fo simple lexical analysis, such as parsing quoted strings, etc