argument problem in optparse

Qian Xu quian.xu at
Fri Mar 20 17:44:32 CET 2009

Hi All,

I have a problem with OptParse.
I want to define such an arugument. It can accept additional value or no

" --unittest File1,File2"
" --unittest"

Is it possible in OptParse? I have tried several combination. But ...

Best regards
--Qian Xu

More information about the Python-list mailing list