On Mon, 16 Nov 2009 14:19:16 -0800, hong zhang wrote:

>>         print >>f, mcs
> 
> This assigns decimal value, how can I assign Hex here to mcs?

        print >>f, "%x" % mcs

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to