ASCII

Will McGugan news at NOwillmcguganSPAM.com
Fri Sep 30 14:27:00 EDT 2005


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")



More information about the Python-list mailing list