Help with python code!

Chris Angelico rosuav at gmail.com
Sun Mar 31 23:35:38 CEST 2013


On Mon, Apr 1, 2013 at 8:21 AM, jojo <gerrymcgovern at gmail.com> wrote:
> Thanks for your replies. Just to be clear this is for a interview and they would like me to figure out what the code does and come back with some test cases

That explains the utter lack of comments, then. In well-maintained
code, you would simply read through the comments to get an idea of
what it does.

A couple of key things to look up: glob.glob and os.popen. When you
know what they do, you should be able to get a broad understanding of
the whole program.

ChrisA



More information about the Python-list mailing list