>>> ord('\x0D')
13
Johan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Rikard Bosnjakovic
Sent: 16 March 2007 01:12 PM
To: Tutor@python.org
Subject: Re: [Tutor] convert hex number to decimal
On 3/16/07, ammar azif <[EMAIL PR
On 3/16/07, ammar azif <[EMAIL PROTECTED]> wrote:
> Is there any built-in function to convert a hex number to a decimal number?
>>> int("ff", 16)
255
--
- Rikard.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
HI,
Is there any built-in function to convert a hex number to a decimal number?
-
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.___
Tutor maillist - Tutor@python.org
http://mail