kj a écrit : > For many months now I've been trying to learn Python, but I guess > I'm too old a dog trying to learn new tricks... For better or > worse, I'm so used to Perl when it comes to scripting, that I'm > just having a very hard time getting a hang of "The Python Way." > (snip) > > I'd written a Perl module to facilitate the writing of scripts. > It contained all my boilerplate code for parsing and validating > command-line options, generating of accessor functions for these > options, printing of the help message and of the full documentation, > testing, etc. > > Of course, for Python now I don't have any of this, so I must write > it all from scratch,
Hem... What about the optparse module ? (nb: it's in the standard lib). -- http://mail.python.org/mailman/listinfo/python-list