Re: python and getopt and spaces in option

2009-06-10 Thread Jorgen Grahn
On Tue, 9 Jun 2009 12:22:20 -0400, David Shapiro wrote: > I have been trying to find an example of how to deal with options > that have spaces in them. I am using jython, which is the same I > think as python 2.2.3. I feebly tried to use optparse and argparse > with no success (got gettext, loca

python and getopt and spaces in option

2009-06-09 Thread David Shapiro
Hello, I have been trying to find an example of how to deal with options that have spaces in them. I am using jython, which is the same I think as python 2.2.3. I feebly tried to use optparse and argparse with no success (got gettext, locale, and optparse). The code is as follows: try