John O'Hagan wrote:
> action="callback",
> callback=my_callback
it works perfect. You made my day and thank you both ^^)
--
http://mail.python.org/mailman/listinfo/python-list
Qian Xu wrote:
> Hi All,
>
> I have a problem with OptParse.
> I want to define such an arugument. It can accept additional value or no
> value.
>
> "myscript.py --unittest File1,File2"
> "myscript.py --unittest"
>
> Is it possible in OptParse? I have tried several combination. But ...
>
>
>
On Fri, 20 Mar 2009, Qian Xu wrote:
> Hi All,
>
> I have a problem with OptParse.
> I want to define such an arugument. It can accept additional value or no
> value.
>
> "myscript.py --unittest File1,File2"
> "myscript.py --unittest"
>
> Is it possible in OptParse? I have tried several combination.
On Mar 21, 3:44 am, Qian Xu wrote:
> Hi All,
>
> I have a problem with OptParse.
> I want to define such an arugument. It can accept additional value or no
> value.
>
> "myscript.py --unittest File1,File2"
> "myscript.py --unittest"
>
> Is it possible in OptParse? I have tried several combination.
Hi All,
I have a problem with OptParse.
I want to define such an arugument. It can accept additional value or no
value.
"myscript.py --unittest File1,File2"
"myscript.py --unittest"
Is it possible in OptParse? I have tried several combination. But ...
Best regards
--Qian Xu
--
http://mail.pyth