Re: [Tutor] Argparse and how best to use it :p:

2013-10-24 Thread Dave Angel
On 24/10/2013 14:23, Paradox wrote: > > On 10/24/2013 12:50 PM, Dave Angel wrote: >>> >>> Not sure which tutorial you're using, but the refernce page: >>> http://docs.python.org/3.3/library/argparse.html > Actually I am using 2.7.5, the tutorial found here: > http://docs.python.org/2/howto/ar

Re: [Tutor] Argparse and how best to use it

2013-10-24 Thread Mark Lawrence
On 24/10/2013 23:45, Alex Kleider wrote: On 2013-10-24 08:38, Paradox wrote: I am trying to learn about argparse and how best to incorporate it into my scripts. I am using Python 2.7.5 on Ubuntu 13.10. It seems from the argparse tutorial that all the arguments are processed as global variables

Re: [Tutor] Argparse and how best to use it

2013-10-24 Thread Alex Kleider
On 2013-10-24 08:38, Paradox wrote: I am trying to learn about argparse and how best to incorporate it into my scripts. I am using Python 2.7.5 on Ubuntu 13.10. It seems from the argparse tutorial that all the arguments are processed as global variables. Is that the standard way to do it or do

Re: [Tutor] Argparse and how best to use it :p:

2013-10-24 Thread Paradox
On 10/24/2013 12:50 PM, Dave Angel wrote: Not sure which tutorial you're using, but the refernce page: http://docs.python.org/3.3/library/argparse.html Actually I am using 2.7.5, the tutorial found here: http://docs.python.org/2/howto/argparse.html#id1 but the problem is the same. impor

Re: [Tutor] Argparse and how best to use it

2013-10-24 Thread Mark Lawrence
On 24/10/2013 16:38, Paradox wrote: I am trying to learn about argparse and how best to incorporate it into my scripts. I am using Python 2.7.5 on Ubuntu 13.10. It seems from the argparse tutorial that all the arguments are processed as global variables. Is that the standard way to do it or do

Re: [Tutor] Argparse and how best to use it

2013-10-24 Thread Dave Angel
On 24/10/2013 11:38, Paradox wrote: > I am trying to learn about argparse and how best to incorporate it into > my scripts. I am using Python 2.7.5 on Ubuntu 13.10. Welcome to python, and to python-tutor mailing list. And thanks for using text mode email, and for supplying both your Python ver