How should I use grep from python?

Marco Mariani marco at sferacarta.com
Thu May 7 15:55:18 CEST 2009


Matthew Wilson wrote:

> consensus.  I could os.popen, commands.getstatusoutput, the subprocess
> module, backticks, etc.

Backticks do_not_do what you think they do.

And with py3k they're also as dead as a dead parrot.





More information about the Python-list mailing list