optparse question

Thorsten Kampe thorsten at thorstenkampe.de
Wed Jan 28 05:05:39 EST 2009


* Pat (Tue, 27 Jan 2009 14:04:28 -0500)
> >> I had no idea people were going to get so upset that I used a
> >> Windows example and go off on a tear.
> > 
> > Nobody is upset, and nobody has "gone off on a tear". The point
> > about the "Windows example" is that the docs say in a
> > close-to-screamingly- obvious manner that /options are not
> > supported, no matter what religion uses them. It was not, and still
> > is not, apparent what you really wanted. We're all patiently waiting
> > for you to rephrase the question(s).
> 
> Sigh. I used an incorrect example (I sincerely apologize to the world
> for that egregious error on my part).
> 
> I''m totally cognizant that the documentation states '-'' or '--' need
> to be used for flags.
> 
> The question was it possible to add a simple flag like 'd-' to optparse 
> with no other parameters?   I'm guessing from the vitriolic diatribes 
> here that the answer is no.
> [...]
> If you don't want to answer the question or don't have any meaningful
> to add, please don't pollute the forum with further vacuous responses.
> I didn't ask, or expect, you to write the code for me.
> 
> christ on a stick, so many of you behave like prima donnas.

You have a problem. The problem is not a Python or a technical one. It's 
described here ->
http://en.wikipedia.org/wiki/Attention_Deficit_Syndrome

Thorsten



More information about the Python-list mailing list