On Aug 1, 1:08 pm, News123 wrote:
> I wondered, whether there's a simple/standard way to let
> the Optionparser just ignore unknown command line switches.
>
> thanks in advance for any ideas
I will plug in my own work on plac: http://pypi.python.org/pypi/plac
Your problem would be solved as follo
On 08/01/2010 07:53 PM, Jon Clements wrote:
> On 1 Aug, 16:43, News123 wrote:
>> On 08/01/2010 05:34 PM, Steven W. Orr wrote:
>>
>>
>>
>>> On 08/01/10 07:27, quoth News123:
On 08/01/2010 01:08 PM, News123 wrote:
> I wondered, whether there's a simple/standard way to let
> the Optionpa
On 1 Aug, 16:43, News123 wrote:
> On 08/01/2010 05:34 PM, Steven W. Orr wrote:
>
>
>
> > On 08/01/10 07:27, quoth News123:
> >> On 08/01/2010 01:08 PM, News123 wrote:
> >>> I wondered, whether there's a simple/standard way to let
> >>> the Optionparser just ignore unknown command line switches.
>
On 08/01/2010 05:34 PM, Steven W. Orr wrote:
> On 08/01/10 07:27, quoth News123:
>> On 08/01/2010 01:08 PM, News123 wrote:
>>> I wondered, whether there's a simple/standard way to let
>>> the Optionparser just ignore unknown command line switches.
>>>
>>
>> In order to illustrate, what I try to ac
On 08/01/10 07:27, quoth News123:
> On 08/01/2010 01:08 PM, News123 wrote:
>> I wondered, whether there's a simple/standard way to let
>> the Optionparser just ignore unknown command line switches.
>>
>
> In order to illustrate, what I try to achieve:
>
>
> import optparse
> parser = optparse.O
On 08/01/2010 01:08 PM, News123 wrote:
> I wondered, whether there's a simple/standard way to let
> the Optionparser just ignore unknown command line switches.
>
In order to illustrate, what I try to achieve:
import optparse
parser = optparse.OptionParser()
parser.add_option("-t","--test",des
I wondered, whether there's a simple/standard way to let
the Optionparser just ignore unknown command line switches.
thanks in advance for any ideas
--
http://mail.python.org/mailman/listinfo/python-list