Re: ASCII
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: ASCII

From: Will McGugan <news@NOwillmcguganSPAM.com>
Date: Fri Sep 30 2005 - 20:27:00 CEST

Tuvas wrote:
> Is there a function that will take a char. and return the ascii value?
> Thanks!
>

ord

Will McGugan

-- 
http://www.willmcgugan.com
"".join({'*':'@','^':'.'}.get(c,0) or chr(97+(ord(c)-84)%26) for c in 
"jvyy*jvyyzpthtna^pbz")
Received on Sat Oct 15 04:00:52 2005