Using "subprocess" without lists. . .?

Peter Otten __peter__ at web.de
Sun May 13 13:48:42 EDT 2007


Steven Bethard wrote:

> You could always call "ls -al | grep -i test".split().

Or better, shlex.split().

Peter



More information about the Python-list mailing list