On Wed, 2018-06-20 at 12:36 +0200, George Fischhof wrote:
> Hi,
> You can also try click library from pypi, that is a very good command line
> stuff.
>
> George
Thank you for the tip. I am away of click and it's awesomeness, but am hesitant
because it's not apart of stdlib. I have gotten bitten
Thanks Peter!
That's pretty slick.
I will get it working for sure now.
Regards,
Brian
--
https://mail.python.org/mailman/listinfo/python-list
Peter Otten <__pete...@web.de> ezt írta (időpont: 2018. jún. 20., Sze
12:22):
> Brian Oney via Python-list wrote:
>
> > Dear all,
> >
> > I am having trouble with argparse. I am trying to translate the following
> > line to a sleek python script:
> >
> > lpr -o media=legal -o sides=two-sided-long-
Brian Oney via Python-list wrote:
> Dear all,
>
> I am having trouble with argparse. I am trying to translate the following
> line to a sleek python script:
>
> lpr -o media=legal -o sides=two-sided-long-edge filename
>
> Now where I am.
>
> import argparse
> parser = argparse.ArgumentParser(d
Dear all,
I am having trouble with argparse. I am trying to translate the following line
to a sleek python
script:
lpr -o media=legal -o sides=two-sided-long-edge filename
Now where I am.
import argparse
parser = argparse.ArgumentParser(description='Print stuff with cups')
parser.add_argument(