blanks embedded in python 2.3 optparse

Karl Scalet news at
Tue Jul 29 10:20:32 CEST 2003

pascal barbedor schrieb:
> Hi
> is there a way to pass a param with blank embedded with optparse ?
> (C:\Python23\Doc\lib\module-optparse.html)
> for instance
> prog --name=mr jones

you need to quote the name like
prog --name="mr jones"

That should work


More information about the Python-list mailing list