Welcome To Snipplr


Everyone's Recent Python Snippets Tagged command



« Prev 1 Next »
Originally found on [Corey Goldberg's blog](http://coreygoldberg.blogspot.com/2010/01/python-command-line-progress-bar-with.html)
0 467 posted 14 years ago by codeshaman
Run the specified command. If expect is not None then look for the given text in the output. If it is not there we throw an error. expect can also be a list of strings. In that case any match results in success unless matchall=True.
0 502 posted 16 years ago by kangell
« Prev 1 Next »