On Thu, Oct 10, 2019 at 2:37 PM brent bejot wrote:
>
>
>
> On Wed, Oct 9, 2019 at 11:01 PM Ryan Gonzalez wrote:
>>
>> I believe you want Python 3.7's parse_intermixed_args:
>> https://docs.python.org/3/library/argparse.html#argparse.ArgumentParser.parse_intermixed_args
>>
>> A quick test seems t
On Wed, Oct 9, 2019 at 11:01 PM Ryan Gonzalez wrote:
> I believe you want Python 3.7's parse_intermixed_args:
> https://docs.python.org/3/library/argparse.html#argparse.ArgumentParser.parse_intermixed_args
>
> A quick test seems to work:
>
>
> import argparse
>
> p = argparse.ArgumentParser()
> p
I believe you want Python 3.7's parse_intermixed_args:
https://docs.python.org/3/library/argparse.html#argparse.ArgumentParser.parse_intermixed_args
A quick test seems to work:
import argparse
p = argparse.ArgumentParser()
p.add_argument('files', nargs='*')
p.add_argument('-f', '--force', actio
On Thu, Oct 10, 2019 at 1:50 PM brent bejot wrote:
>
> Hello all,
>
> Aspiring contributor here. I am not at all certain that this is the right
> place to discuss this. Do refer me to a better location if I'm out of place.
>
This is the perfect place to discuss this! Welcome on in.
> I would
Hello all,
Aspiring contributor here. I am not at all certain that this is the right
place to discuss this. Do refer me to a better location if I'm out of
place.
I would like to add a simple feature to the argparse library. I frequently
find myself writing small utilities, stylistically simila
On 09/10/2019 06:49, Pradyun Gedam wrote:
> On Mon, 2 Sep 2019 at 2:24 AM, Michael Felt wrote:
>
>> Among other places, Python ideas was recommended as a place to goto.
>>
>> In the meantime I have been discussing this on pypa/pip (mainly), and also
>> on wheel and packaging. Even submitted PRs. B
Hi.
I'm a newbie and Python ideas was recommended to me as a place to go to.
I think this is a good idea that have port parameter in "urlunparse" method.
(refer to: https://bugs.python.org/issue38408)
One way is to add keyword parameters to urlunparse, like:
def urlunparse(components, *, usernam