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 1259 posted 16 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 1491 posted 18 years ago by kangell
« Prev 1 Next »