Re: Does the argparse generate a wrong help message?

2019-12-27 Thread Richard Damon
On 12/27/19 11:08 PM, jf...@ms4.hinet.net wrote: Chris Angelico於 2019年12月28日星期六 UTC+8上午11時30分47秒寫道: On Sat, Dec 28, 2019 at 2:26 PM wrote: The codes in test.py are: - import argparse parser = argparse.ArgumentParser() parser.add_argument('--foo', nargs='?', help='foo help') parser.add_

Re: Does the argparse generate a wrong help message?

2019-12-27 Thread jfong
Chris Angelico於 2019年12月28日星期六 UTC+8上午11時30分47秒寫道: > On Sat, Dec 28, 2019 at 2:26 PM wrote: > > > > The codes in test.py are: > > - > > import argparse > > parser = argparse.ArgumentParser() > > parser.add_argument('--foo', nargs='?', help='foo help') > > parser.add_argument('--goo', nargs

Re: Does the argparse generate a wrong help message?

2019-12-27 Thread Chris Angelico
On Sat, Dec 28, 2019 at 2:26 PM wrote: > > The codes in test.py are: > - > import argparse > parser = argparse.ArgumentParser() > parser.add_argument('--foo', nargs='?', help='foo help') > parser.add_argument('--goo', nargs=1, help='goo help') > args = parser.parse_args() > print(args.foo,

Does the argparse generate a wrong help message?

2019-12-27 Thread jfong
The codes in test.py are: - import argparse parser = argparse.ArgumentParser() parser.add_argument('--foo', nargs='?', help='foo help') parser.add_argument('--goo', nargs=1, help='goo help') args = parser.parse_args() print(args.foo, args.goo) - But I get the following result: --

Re: scrollable Frame object

2019-12-27 Thread Christian Gollwitzer
Hi David, Am 24.12.19 um 13:48 schrieb david.is...@gmail.com: thank you for your answer. I downloaded and had a look at your library, it is a great solution to use a canvas-free scrollable frame. but it is in pure tcl, how do I use this with python tkinter ? Yes, because you asked this in t

Error in python installation

2019-12-27 Thread Kishor Soni via Python-list
Hello I have Intel DH61 series mother board, with Windows7 64bit + SP1 + some debugging components ( as shown in microsoft website, as service pack for W7) however when I try to install current version of python, it displays error. See the screenshot attached herewith. (board configuration display