On Jun 2, 11:01 am, Stefan Behnel <stefan...@behnel.de> wrote: > I managed to talk a Java-drilled collegue of mine into > writing a Python script for a little command line utility, but he needed a > way to organise his argument extraction code when the number of arguments > started to grow beyond two. I told him that there were two ways to do it: > do it by hand or do it right. He took the right choice and I took him to > the optparse docs, copied the first example into his code and we adapted it > a little. He just loved the beauty of it.
Could you show plac to your friend? I would be curious to know what he think. Perhaps he would call out his judgment on optparse ;) -- http://mail.python.org/mailman/listinfo/python-list