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'.

-- 
http://mail.python.org/mailman/listinfo/python-list
  • Re: hex Diez B. Roggisch
    • Re: hex Peter Otten

Reply via email to