How should I use grep from python?

Marco Mariani marco at sferacarta.com
Thu May 7 09:55:18 EDT 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