Reverse of hex()

Wilson, Stewart [WDLN2:2X86:EXCH] wilson at americasm01.nt.com
Tue Mar 21 00:01:30 CET 2000


>>> import string
>>> string.atoi(hex(150),0)
150
>>> 

Gaetan Corneau wrote:
> 
> Hi,
> 
> I'm looking for the reverse of the hex built-in function: is there any?
> 
> Thanks,
> ______________________________________________________
>    Gaetan Corneau

-- 
---
Stewart Wilson
Nortel Networks Wireless Solutions
wilson at nortelnetworks.com



More information about the Python-list mailing list