Peter Otten __peter__ at web.de
Thu Nov 19 11:01:24 CET 2009

hong zhang wrote:

> I want to input hex number instead of int number. in type="int" in
> following,
> parser.add_option("-F", "--forcemcs", dest="force_mcs", type="int",
> default=0, help="index of 11n mcs table. Default: 0.")
> How can I do it?

Workaround for the lazy: '0xff' on the command line instead of 'ff'.

More information about the Python-list mailing list