command line arguments (newbie...)

Matteo Risoldi Matteo.Risoldi at cern.ch
Tue Nov 25 16:12:43 CET 2003


"Ville Vainio" <ville.spammehardvainio at spamtut.fi> wrote in message
news:du7ekvwa4c7.fsf at mozart.cc.tut.fi...
> "Matteo Risoldi" <Matteo.Risoldi at cern.ch> writes:
>
> > In this program I did, I am parsgin command line arguments through the
> > getopt.getopt function in the following way (note: try/except and other
>
> I can say this w/o reading the rest of your mail: don't do it, use
> optparse instead.

I knew optparse, and that would be nice, but I forgot to say that I have to
stick with 2.2 (it's the version installed everywhere here and in the
centers which will use this script, and I can't expect hundreds of people to
upgrade their python to 2.3).

Any other try?

Thanks
M.






More information about the Python-list mailing list